View Full Version : Meditating Characters

05-06-2006, 10:58 PM
Remember in Kotor 1 when you visit Korriban and many of the Sith students are meditating and when you talk to them they get up and then go back to meditating when the conversation is done. I am trying to do this with the Jedi on Dantooine but am not sure how. I believe you must add a scripting syntax. So if any scripting experts out there know how to do this please reply.

05-07-2006, 04:40 AM
In the OnSpawn field and then the EndDialog field (I forget the specific names so I may be incorrect on these).

void main()

AssignCommand(OBJECT_SELF, ActionPlayAnimation(ANIMATION_LOOPING_MEDITATE, 1.0, -1.0)); //This is for KotOR I's "worship" animation
//AssignCommand(OBJECT_SELF, ActionPlayAnimation(ANIMATION_LOOPING_SIT_AND_MEDI TATE, 1.0, -1.0));//This is for TSL's meditatation
//animation that actually looks like meditation!
//Uncomment it and delete the one above to use it.


05-07-2006, 07:43 AM
Yea that's the one. Thanks Pavlos!