Returns a value (real or undefined) from the attack grid for the specified attack, window and index.
| Argument | Type | Description |
|---|---|---|
| attack | :real | The attack to get the value of |
| window | :real | The window to get the value of |
| index | :real | The index of the attack grid to get the value of |
Example, called from attack_update.gml:
// doubles current window vspeed:
vsp = get_window_value( attack, window, AG_WINDOW_VSPEED ) * 2;