What I can think of:
In the unit's main actor add the event
Animation finished /done
(as a parameter "attack" or whatever it is called)
For the action, you need to be creative. I don't have the editor here so I can't check all possible actions, but maybe there is some way to start an effect (I am pretty sure there is something like this).
If you use a dummy damage-effect that only deals 0.01 damage you can then register this damage effect to a trigger easily.
BTW: How do you disable/enable movement? :D If you don't need script functions for this, then there might be an actor-action for this. This would shorten things a lot.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
What I can think of: In the unit's main actor add the event Animation finished /done (as a parameter "attack" or whatever it is called)
For the action, you need to be creative. I don't have the editor here so I can't check all possible actions, but maybe there is some way to start an effect (I am pretty sure there is something like this). If you use a dummy damage-effect that only deals 0.01 damage you can then register this damage effect to a trigger easily.
BTW: How do you disable/enable movement? :D If you don't need script functions for this, then there might be an actor-action for this. This would shorten things a lot.