Posts: 161
Threads: 45
Joined: May 2010
Reputation:
0
First how to create npc that just stands on coordinates that i give?
Second how to add things like setplayerpos, setfacingangle... (for npc of course).
note: yes i saw wiki/npc website -.-
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
First: use npcidle script
Second: you can use these functions on NPC
Posts: 161
Threads: 45
Joined: May 2010
Reputation:
0
I know how to connect a npc in gm, to start it in server, just i dont know how to script a npcmod that spawns a npc (at point that i will set) when server starts.
I tryed all other things with existed npcmodes.
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
Use SetPlayerPos under OnPlayerSpawn?
Posts: 161
Threads: 45
Joined: May 2010
Reputation:
0
you cant use SetPlayerPos under *public OnNPCSpawn()* -.-
Whats the SetPlayerPos script for npcs?
Posts: 380
Threads: 11
Joined: Feb 2010
Reputation:
0
I'm pretty sure if you follow the normal procedure for recording an npc, and make a quick 20 second recording with no movement, then edit your NPC script not to loop it will work.
Note: if the NPC is to be set inside an interior you may need to set its interior and VW OnPlayerSpawn.
Posts: 161
Threads: 45
Joined: May 2010
Reputation:
0
Do you know a good FS for npc recording?
I had one, but was only for 0.3a -.-