Returns a value (real or undefined) from the hitbox grid for the specified attack and index.
Argument | Type | Description |
---|---|---|
attack | :real | The attack to get the value of |
hitbox | :real | The hitbox to get the value of |
index | :real | The index of the hitbox grid to get the value of |
Example, called from attack_update.gml:
// sets horizontal speed to 0 during the window where Dtilt's second hitbox is created:
if (window == get_hitbox_value( AT_DTILT, 2, HG_WINDOW ) ) {
hsp = 0;
}