Overwrites a value from the hitbox grid for the specified attack and index. Default values are always 0.
Argument | Type | Description |
---|---|---|
attack | :real | The attack to set the value of |
hitbox | :real | The hitbox to set the value of |
index | :real | The index of the attack grid to set the value of |
value | :real | The value to set |
Example, called from fair.gml:
// sets the damage dealt by the first fair hitbox:
set_hitbox_value( AT_FAIR, 1, HG_DAMAGE, 10 );