![]() |
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: |
Re: NPC Spawn Button /bind f8 npc spawn somthing that alwase works 4 me |
Re: NPC Spawn Button ......its for radiant not in game, MAN fresh your brain! |
Re: NPC Spawn Button you gotta target it to a deactivate and activate, otherwise it won't work |
Re: NPC Spawn Button Don't link it to an NPC link it to an npc_spawner or something like that. |
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 |
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) |
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- |
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 |
Re: NPC Spawn Button tk 409er it did work, thanks man |
Re: NPC Spawn Button Durendal, is that the map I sent you? Just for reference, so you guys know how to make one in the future: You need a NPC, a trigger_multiple, a target_deactivate, and a target_activate. Lets say that your npc is a stormtrooper Enter these values manually through the entity window. (press 'n' to bring it up) ---------------------------------------------------------------- For the stormtrooper; NPC_target: activate1 target: deactivate1 targetname: st1 count: -1 For the trigger_multiple (use_button checked); target: st1 targetname: button1 wait: 5 For the target_activate: targetname: activate1 target: button1 For the target_deactivate: targetname: deactivate1 target: button1 ------------------------------------------------------------------ That will work. you can simply use that in your map. If you don't care how it works, stop reading this post. I will go on to what each of the terms mean. target-what the entity activates when it is used. targetname-what the entity is called, this name is used in target command. NPC_target-the same thing as target, except the entity activates it when the entity is killed. So, in effect, you hit the trigger_multiple (called button1) which spawns its target (the stormtrooper). When the stormtrooper is spawned it activates the target_deactivate, which deactivates the button. When the stormtrooper is killed, it uses the NPC_target to activate the target_activate, which activates the trigger once again. If you didn't understand that, read it over until you do. :D |
Re: NPC Spawn Button only if you want one NPC to be spawned at a time- |
Re: NPC Spawn Button i did wot u sed to do dark mual, but when i run the map, the buttons invisible, and so is the NPC which spawns ( droid remote ) its there cuas i cn hit it and it moves |
Re: NPC Spawn Button This thread is more than a year old, what makes you think he is still here? |
Re: NPC Spawn Button lol no idea :D |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.