Clears the input buffer for the specified action.
Argument | Type | Description |
---|---|---|
input_index | :real | The input buffer to clear |
Example, called from atack_update.gml:
// allows the attack to cancel immediately into the aerial idle state using the shield button without buffering an airdodge:
if (window == 2 && shield_pressed) {
set_state( PS_IDLE_AIR );
clear_button_buffer( PC_SHIELD_PRESSED );
}