I want my map to start when I walk into a certain area, so the zombies don't spawn until they go to the area. How would you do that? It's kinda like a paced intro.
create a trigger_multiple in radiant and give it the KVPS. targetname round_door
I added the script to the bottom of my _zombiemode.gsc and I put the trigger_multiple with the targetname round_door kvp, and nothing happens when I go inside of the trigger.
I added the script to the bottom of my _zombiemode.gsc and I put the trigger_multiple with the targetname round_door kvp, and nothing happens when I go inside of the trigger.
You probably didnt thread it then.
Also scripts like that should go in your mapname.gsc not zombiemode
Then just go into radiant and right click and add a trigger_multiple and set it's targetname to start_rounds. That's all you need.
if there is more than one trigger placed this method wont work. it will wait for each trigger to be activated one by one. it might be better to do thezombiekilla6's idea mixed with yours. either, use getEnt or have a separate method that is threaded on each trigger