superantimonitor
New member
Hi,
Let's say i have 3 freespecial attacks defined.
com U D S freespecial2
com D U S freespecial3
The first one (default) is always available, but the other 2 are only available until later on in the game (by leveling up or something else, they are 'learned').
What was the obvious solution to me was to disable the other 2 attacks with some flag, but i was expecting some event like ondoattack but before the action is performed at all (like a onperformattack or something).
There's animationscript that gets executed on every frame of an animation (i think), so i was thinking it could be cancelled there, something like: if the current animation is freespecial2, check if its yet available, if not cancel the whole animation/attack.
Or maybe in keyall event, catch that keypresses, check things and cancel them.
What's the correct way to do it?
Thanks
Let's say i have 3 freespecial attacks defined.
com U D S freespecial2
com D U S freespecial3
The first one (default) is always available, but the other 2 are only available until later on in the game (by leveling up or something else, they are 'learned').
What was the obvious solution to me was to disable the other 2 attacks with some flag, but i was expecting some event like ondoattack but before the action is performed at all (like a onperformattack or something).
There's animationscript that gets executed on every frame of an animation (i think), so i was thinking it could be cancelled there, something like: if the current animation is freespecial2, check if its yet available, if not cancel the whole animation/attack.
Or maybe in keyall event, catch that keypresses, check things and cancel them.
What's the correct way to do it?
Thanks