FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:JK3 Modding, Mapping and Editing (http://forums.filefront.com/sw-jk3-modding-mapping-editing-528/)
-   -   NPC Spawn Button (http://forums.filefront.com/sw-jk3-modding-mapping-editing/133905-npc-spawn-button.html)

RTC 1300 Term July 11th, 2004 10:19 AM

NPC Spawn Button
 
i am trying to make an button that spawns npcs, i readed an forum about it, but it didnd work.

I created an trigger_multiple:
Delay 1
Wat 1

And linked the trigger_multiple to an npc:
Count -1

When i pressed the button he only spawned once, whats wrong? help me outa please :bows:

2steven July 11th, 2004 10:49 AM

Re: NPC Spawn Button
 
/bind f8 npc spawn somthing
that alwase works 4 me

RTC 1300 Term July 11th, 2004 10:56 AM

Re: NPC Spawn Button
 
......its for radiant not in game, MAN fresh your brain!

Durandal21 July 11th, 2004 12:03 PM

Re: NPC Spawn Button
 
you gotta target it to a deactivate and activate, otherwise it won't work

tFighterPilot July 11th, 2004 12:55 PM

Re: NPC Spawn Button
 
Don't link it to an NPC link it to an npc_spawner or something like that.

TK 409er July 11th, 2004 03:30 PM

Re: NPC Spawn Button
 
no no no-

the down to earth Basic NPC button

give your trigger_multiple:

wait 1 (you should probably give it a longer wait value- 1 second is kind of short)
spawnflags 4 (just so you have to push use)
target t1

give your NPC_WHATEVER:

count -1
targetname t1


note: I would suggest that you give your trigger_multiple a facing spawnflag and a direction so the Button can't be used unless the player is looking at the button.
you can use a delay key- but it's not really necessary-

if you don't want it to be a button then just don't assign the use_button spawnflag- (spawnflags 4)
I would suggest that unless you are making a single player map you do check that box- but if it is SP then use a Trigger_Once

EDIT: NPC Spawners are used for spawning custom NPC's

Durandal21 July 11th, 2004 09:56 PM

Re: NPC Spawn Button
 
thats not what i got

a while back when i was starting up my first map, i really wanted to spawn NPCs (hoping it'd be a popular map choice) it took me forever to figure out this problem, so naturally i posted a thread about it, and i got a response, so now everytime i need to have an npc be spawned, i import a VERY small map with the button in it, i could email the small map to you if you like

(NOTE:it spawns desann but you can change it)

TK 409er July 11th, 2004 11:13 PM

Re: NPC Spawn Button
 
Try what I put and you will be suprised that it works-

I hate to say this but this is a very easy thing to do-
it's what happens every time a NPC appears in SP- except it's in MP and a Spawnflag is checked- you don't have to get a download- it's better that you know what's going on-

durandel- I recommend you do what i put as well-

RTC 1300 Term July 12th, 2004 06:20 AM

Re: NPC Spawn Button
 
durandal, my email is rtc1300@hotmail.com u can send it to me.
and tk409er ill try if your reads works

RTC 1300 Term July 12th, 2004 06:43 AM

Re: NPC Spawn Button
 
tk 409er it did work, thanks man


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.