npc spawner help -1 reply

Please wait...

flairspirit

I'm too stupid to post

50 XP

23rd September 2008

0 Uploads

14 Posts

0 Threads

#1 10 years ago

how do i work the npc spawner like what do i put in the value and key if i want it to spawn a jedi every 30 seconds be specifiec plz...thx




stotto

The Internet ends at GF

50 XP

26th September 2002

0 Uploads

114 Posts

0 Threads

#2 10 years ago

Well... that sounded very demanding. It's not that hard to get an npc_spawner working. All it requires is two entities: the npc_spawner and a func_timer.

Now, for the settings within the npc_spawner:

key: NPC_type value: jedi (what ever npc you want, the name you use when spawning one from the console)

count -1 The negative count appears to be necessary, otherwise it will stop spawning after 1, or once it reaches whatever number you specified...

And then in your func_timer check the start_on box, and enter

key: wait value: 30

Now make the npc_spawner the target of the func_timer and you're done... Not that hard, you probably could have played around with it until you got it working.




flairspirit

I'm too stupid to post

50 XP

23rd September 2008

0 Uploads

14 Posts

0 Threads

#3 10 years ago

thx lots i tried and it worked thx again