Slunker Posted August 23, 2002 Share Posted August 23, 2002 I'm having a problem doing an infinite patrol loop for an NPC using the waypoint_navgoal. I've pretty much copied the script nearly exactly from one in the SPscripts.zip file adding what is necessary here and there, but the guy still didn't move. Finally, I added in an "affect" on the NPC, and rather than start moving, he DISAPPEARED! Can someone who knows how to set up NPCs patrolling give me some ground rules/tidbits of advice to use when doing NPC movement? Also, can you tell me what it is that's going on here? -Slunker Link to comment Share on other sites More sharing options...
Slunker Posted August 23, 2002 Author Share Posted August 23, 2002 Heh, sorry, take back the part about disappearing! There was a spawning mistake. He's still not moving, though. -Slunker Link to comment Share on other sites More sharing options...
ViNYL_VeNGeaNCe Posted August 23, 2002 Share Posted August 23, 2002 http://www.lucasforums.com/showthread.php?s=&threadid=75465 Link to comment Share on other sites More sharing options...
Slunker Posted August 23, 2002 Author Share Posted August 23, 2002 Actually, I've seen that tutorial before. Although it's useful for learning to use the cameras, and taught me a lot, it's totally useless for learning how to control NPC movements across waypoints. The method for doing so has changed heavily between EF and JK2. -Slunker Link to comment Share on other sites More sharing options...
ViNYL_VeNGeaNCe Posted August 23, 2002 Share Posted August 23, 2002 There is a tutorial on that site that tells you how to make an NPC follow navgoals. I got it to work just fine for my NPCs. Ive got them walking up and down halls on my level, and i followed it word for word then just added some navgoals into the map and script. Essentially nothing has changed. Look in the ICARUS manual too. That helped me some. Link to comment Share on other sites More sharing options...
Slunker Posted August 23, 2002 Author Share Posted August 23, 2002 HOw could you possibly make that tutorial work? It has you use BS_WALK and BS_FACE, neither of which exist in JK2. -Slunker Link to comment Share on other sites More sharing options...
Catscratch Posted August 23, 2002 Share Posted August 23, 2002 Actually they exist. Open your script file (.txt) with notepad and change the BS_*** to BS_Walk or BS_Face. Open it with behavED and just compile. I used BS_Walk for an example before, so im sure it exists. Link to comment Share on other sites More sharing options...
Slunker Posted August 23, 2002 Author Share Posted August 23, 2002 *hrms* You're kidding me! Welp! That'll clear it all up, then! Thanks! -Slunker Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.