Silveredge9 Posted November 4, 2006 Share Posted November 4, 2006 Is there a way to changes the animation state of a place able in a script? I need to know this because I want to script the process opening of the mysterious box place able, like in that ebon hawk quest. Any help would be appreciated. Link to comment Share on other sites More sharing options...
stoffe Posted November 4, 2006 Share Posted November 4, 2006 Is there a way to changes the animation state of a place able in a script? I need to know this because I want to script the process opening of the mysterious box place able, like in that ebon hawk quest. Any help would be appreciated. You should be able to use the PlayAnimation() scripting command assigned to the placeable for this, and use any of the ANIMATION_PLACEABLE_ACTIVATE, ANIMATION_PLACEABLE_DEACTIVATE, ANIMATION_PLACEABLE_OPEN or ANIMATION_PLACEABLE_CLOSE animation numbers. I don't know which of them is used for the Rakatan prison box activation, probably the "Activate" one I'd guess. Like: void main() { object oBox = GetObjectByTag("TagOfTheBoxHere"); AssignCommand(oBox, PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE)); } Link to comment Share on other sites More sharing options...
Silveredge9 Posted November 5, 2006 Author Share Posted November 5, 2006 Yup, I managed to get it to work. Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.