Miltiades Posted July 2, 2007 Share Posted July 2, 2007 Okay, I know this has been asked before, but apparently, I can't seem to get NPCs sitting to work properly. I tried two different things: First I tried it with an NPC, and used the first script from this thread. The NPC sits, but not in the right direction. I've put in numerous different numbers as the vector, but it just doesn't work. Then I tried it with a "sitting placeable", but instead of sitting, it's laying dead. Any idea what's wrong? Link to comment Share on other sites More sharing options...
Tupac Amaru Posted July 3, 2007 Share Posted July 3, 2007 Try using SetFacing instead of SetFacingPoint. It only requires a single number as argument instead of a vector to have the NPC facing in a certain direction. For example, AssignCommand(OBJECT_SELF, SetFacing(180.0)); will make the character look to the west. You can get the orientation value with the whereami armband. Link to comment Share on other sites More sharing options...
Miltiades Posted July 3, 2007 Author Share Posted July 3, 2007 Yep, that does the job. Thanks. Edit: Hmm, they don't want to sit into the chairs. I'm using the Harbinger Command Deck module (151har) and tried to let the NPCs sit into the chairs in the briefing room. But instead of sitting in the chairs, they're sitting behind it. I suspect this is because there's no walkmesh in that place... Which means there's no solution for it, I guess. Unless someone does have a solution... Link to comment Share on other sites More sharing options...
Qui-Gon Glenn Posted July 4, 2007 Share Posted July 4, 2007 Hi Miltiades Magnusll has a program that will edit walkmesh for K1 I believe, not sure about TSL. It may be simple.... Link to comment Share on other sites More sharing options...
Miltiades Posted July 4, 2007 Author Share Posted July 4, 2007 Hiya Glenn Thanks for the suggestion. I may try it out, but maybe I'll wait until others have tried it out some more. I'm not exactly a 3DSMAX expert. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.