Posts: 84
Threads: 20
Joined: Jun 2010
Reputation:
0
So let's say I record an npc walking in a fairly large circle somewhere in los santos. I know you can set it's position somewhere else but... if you do will it continue to walk in that circle where you put it at? Or will it teleport back to where you recorded it to and continue to loop.
Reason I want to know is b/c I want to make a /airsupport command where an NPC in a big plane flies around you, regardless of your location. On that notice... what happens if it hits a building looool?
Posts: 287
Threads: 16
Joined: Nov 2007
Reputation:
0
You'll be lucky if anyone answers. Laziness won't motivate anyone to help you :P
Posts: 647
Threads: 34
Joined: Apr 2009
Reputation:
0
Your lucky!
I figured out that a non recorded npc can easy be teleported with setplayerpos.
i tested this the following way;
making an npc without the recording
then under onplayerspawn (the part where the npc is spawned) put SetPlayerPos)
The npc will spawn at the point you want it.
After you have done that you can still use setplayerpos...put it in a command the npc could use or something.
Note: This will not work with npc's in a vehicle
Posts: 287
Threads: 16
Joined: Nov 2007
Reputation:
0
Not lucky
He asked if an NPC that plays back a recording will continue to act relative to a location it is moved to, or 'teleport' back to the exact spot where that actions were recorded and carry on its jolly way.
Almost :P
Posts: 647
Threads: 34
Joined: Apr 2009
Reputation:
0
Ow i see my bad XD well to bad for him then