View Full Version : [k1] making a npc sit on a chair?
08-06-2008, 03:56 PM
How can you make a npc sit on a chair?
08-06-2008, 04:35 PM
Ask him to sit down.
Sorry, couldn't resist. :D
It's likely a scripted animation on a loop. Or somesuch. To be frank, I know very little about animations...
08-06-2008, 04:45 PM
same here thats why im asking.
08-06-2008, 05:16 PM
Almost certainly it's a looped animation. You could try adding a script to the OnHeartbeat slot of the .utc file, something like:
object oNPC = GetObjectByTag("object_tag");
AssignCommand(oNPC, PlayAnimation(ANIMATION_LOOPING_SIT_CHAIR, 1.0, -1.0));
vBulletin®, Copyright ©2000-2016, Jelsoft Enterprises Ltd.