I have a fully working script with property "Stop" of type Idle. (I dunno why idle, i have taken this from another script and I don't know what should I use, but with this type it works.) I have set an anymation "IdleStop" to the "Stop" property in the editor. And it works. But i need to do it with a lot of other objecks. How can I set this animation to this property in the code?
I tried this:
Idle Property Stop Auto Event OnActivate(ObjectReference akActionRef) Stop = IdleStop...
Error: variable IdleStop is undefined.
Tried this:
Event OnActivate(ObjectReference akActionRef) Idle Stop Stop = IdleStop
Same error.
Tried without property:
Game.GetPlayer().PlayIdle(IdleStop)
Same: variable IdleStop is undefined.
How should I do this?