View previous topic :: View next topic |
Author |
Message |
Nexty

Joined: 18 Feb 2008 Posts: 3
|
Posted: Sun Apr 13, 2008 3:27 pm Post subject: walking |
|
|
how do you make a npc move in place with plotscripting????? wait a second sorry wrong topic  |
|
Back to top |
|
 |
Newbie_Power

Joined: 04 Sep 2006 Posts: 1762
|
Posted: Sun Apr 13, 2008 3:54 pm Post subject: |
|
|
In the NPC editor, you can change the walk type to "Walk in Place". _________________
TheGiz> Am I the only one who likes to imagine that Elijah Wood's character in Back to the Future 2, the kid at the Wild Gunman machine in the Cafe 80's, is some future descendant of the AVGN? |
|
Back to top |
|
 |
Nexty

Joined: 18 Feb 2008 Posts: 3
|
Posted: Sun Apr 20, 2008 6:55 pm Post subject: |
|
|
is there a way to do it with plotscripting? |
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Sun Apr 20, 2008 7:19 pm Post subject: |
|
|
Where x is the ID of your NPC:
Code: |
alternpc(x, NPCstat:move type, NPCmovetype:walkinplace)
|
Or:
Code: |
setnpcframe(x,0)
setnpcframe(x,1) # Repeat this in a loop
|
|
|
Back to top |
|
 |
Nexty

Joined: 18 Feb 2008 Posts: 3
|
Posted: Sun Apr 20, 2008 7:28 pm Post subject: |
|
|
ooohhh thank you |
|
Back to top |
|
 |
|