# make_attack
make_attack(_attack_name, (value_name, value)... )
Source (opens new window)
Configure an attack from a series of keys and values.
// Without Assistant
set_attack_value(AT_BAIR, AG_CATEGORY, 1)
set_attack_value(AT_BAIR, AG_SPRITE, sprite_get("bair"))
// With Assistant
make_attack(AT_BAIR,
AG_CATEGORY, 1,
AG_SPRITE, sprite_get("bair")
)
Parameters:
_attack_name
: The attack index (opens new window) to be configured.- Any number of pairs of:
value_name
: An attack grid index (opens new window) to set.value
: The value to set to the paired attack grid index.
See Also
- make_hitbox: Configure a hitbox.
- make_window: Configure a window.