Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Random Walking

Page: 1 of 1
 Fallen Guardian
12-23-2010, 12:23 PM
#1
How do I get a NPC to walk randomly around a module?
 DarthStoney
12-23-2010, 12:36 PM
#2
This will help you with what you need. http://www.lucasforums.com/showthread.php?t=142290)
 TimBob12
12-23-2010, 12:38 PM
#3
I think you need to use waypoints. Thrlere is a tutorial in general tuntorials called making NPCs walk waypoints. I would give u a link but am on my phone

We meett again
 Fallen Guardian
12-23-2010, 12:40 PM
#4
I tried that tutorial Darth Stoney but that script that makes the NPC walk around would not compile.

We meet again TimBob12!
 DarthStoney
12-23-2010, 10:31 PM
#5
You don't need any "special" scripts just use the standard in-game scripts in the .utc file
OnEndDialog - k_act_walkways2
OnSpawn- k_def_spawn01
OnRested- k_act_walkways2
 Fallen Guardian
12-24-2010, 10:53 PM
#6
Thanks DarthStoney, but I followed your instructions and they just stood there instead of walking around. Can anyone help? Or do I have to make waypoints for each individual NPC?
Page: 1 of 1