I searched the old boards and found the answer here:
http://nwn2forums.bi...forum=114.&sp=0
Thought I would import it here since it is something that I imagine many modders would want to do.
To sum it up, make the placeable execute the followin function:
ActionPlayAnimation( ANIMATION_PLACEABLE_ACTIVATE);
How do I animate a lever?
Débuté par
M. Rieder
, déc. 05 2010 02:08
#1
Posté 05 décembre 2010 - 02:08
#2
Posté 05 décembre 2010 - 03:15
Also works with the levers:
ActionPlayAnimation(ANIMATION_PLACEABLE_OPEN)
and
ActionPlayAnimation(ANIMATION_PLACEABLE_CLOSE)
ActionPlayAnimation(ANIMATION_PLACEABLE_OPEN)
and
ActionPlayAnimation(ANIMATION_PLACEABLE_CLOSE)
#3
Posté 05 décembre 2010 - 09:59
After fiddling around, I decided that the following commands work well together
ActionPlayAnimation( ANIMATION_PLACEABLE_ACTIVATE);
DelayCommand(0.5,ActionPlayAnimation( ANIMATION_PLACEABLE_DEACTIVATE));
This gives the impression of the lever recoiling after being activated.
ActionPlayAnimation( ANIMATION_PLACEABLE_ACTIVATE);
DelayCommand(0.5,ActionPlayAnimation( ANIMATION_PLACEABLE_DEACTIVATE));
This gives the impression of the lever recoiling after being activated.





Retour en haut






