Overwrites a value from the attack grid for the specified attack and index. Default values are always 0.
Argument | Type | Description |
---|---|---|
attack | :real | The attack 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 jab.gml:
// sets the sprite of a jab attack to a custom sprite named "jab":
set_attack_value( AT_JAB, AG_SPRITE, sprite_get ( "jab" ) );