Battlemapsta
I am the Conduit of Change
- Reaction score
- 101
Hey all, I've been messing around with the editor and I'm come up with a little problem. I'm trying to make a unit I specify play an animation in specific as in I want it to play animation attack-3.
I've already read up on the custom script and everything but my guy apparently doesn't perform an animation at all.
To recap the situation I have one trigger that sets a unit variable like so.
Bob the variable = Bob the guy on the map.
Now for the trigger that makes it work looks like this.
Firstly, this trigger is run through another trigger that simply has a run action.
I have a second wait and then a pause because I'm attempting to pause the animation at a point to make it pose. I got the integer for the animation using the viewer and the model has over 9 animations so the integer can't be an issue.
Other than that, I have no more critical information to give unless someone uncovers my issue.
Thank you in advance.
I've already read up on the custom script and everything but my guy apparently doesn't perform an animation at all.
To recap the situation I have one trigger that sets a unit variable like so.
Trigger:
- Set Bob = Bob
Bob the variable = Bob the guy on the map.
Now for the trigger that makes it work looks like this.
Trigger:
- Animation
- Events
- Conditions
- Actions
- Wait 0.10 game-time seconds
- Custom script: call SetUnitAnimationByIndex(udg_Bob,5)
- Wait 1.00 game-time seconds
- Unit - Pause Bob 0000 <gen>
Firstly, this trigger is run through another trigger that simply has a run action.
I have a second wait and then a pause because I'm attempting to pause the animation at a point to make it pose. I got the integer for the animation using the viewer and the model has over 9 animations so the integer can't be an issue.
Other than that, I have no more critical information to give unless someone uncovers my issue.
Thank you in advance.