you set up a door like normal but on the trigger you add this extra kvp
Code Snippet
Plaintext
script_noteworthy electric_door
this will only open the door. it won't activate the zone. as far as i remember you need to add the flags on your mapname.gsc and add script_flag on the trigger. i might be wrong though.
this will only open the door. it won't activate the zone. as far as i remember you need to add the flags on your mapname.gsc and add script_flag on the trigger. i might be wrong though.
youre not wrong, i was just lazy and assumed he knows how to set up a normal door already so i only said to set it up like a normal door and then add the extra kvp to make it into a power door instead of a player activated one
start zombie spawning when electricity is turned on
You could try, in _zombiemode.gsc before level thread round_start(); or in the round_start function, adding flag_wait("electricity_on");
Edit: If that does not work for some reason, you could add a notify to your dlc3_code where it handles the power_switch and a waittill for your round_start. To activate a zone, you could set the flag for that zone when the electricity_on flag is set in the same function that all the perks are turned on in dlc3_code (using the normal add_adjacent_zone lines in your mapname.gsc, with the flag as this flag).
Last Edit: March 17, 2015, 03:12:04 pm by MakeCents
If you're talking about the nova-crawlers, i got that taken care off allready. If you're still interested in using mine that is.. I've just completely redone the scripts and we're testing them now in Stevie's map. Could also help with activating certain spawners/a zone after power, but will need to check some stuff out for that and i'm not at home right now.. Just need to know if its a zone, or just one (or more) spawners you want to activate
when i said start spawning i meant just for 1 zone(main theatre) not initial zone, basically im remaking kino and i have set up all zones and spawners except centre so i was wondering how to do that as the curtain opens when the power is activated and then zombies and creepers start coming.
@Bluntstuffy yes i would still love the creepers, but right now im just setting up normal zombies
when i said start spawning i meant just for 1 zone(main theatre) not initial zone, basically im remaking kino and i have set up all zones and spawners except centre so i was wondering how to do that as the curtain opens when the power is activated and then zombies and creepers start coming.
@Bluntstuffy yes i would still love the creepers, but right now im just setting up normal zombies
Code Snippet
Plaintext
flag_set("enter_zonename");
Add this in script where power is located, probably in _zombiemode.gsc
To activate a zone, you could set the flag for that zone when the electricity_on flag is set in the same function that all the perks are turned on in dlc3_code (using the normal add_adjacent_zone lines in your mapname.gsc, with the flag as this flag).
Last Edit: March 17, 2015, 04:36:57 pm by MakeCents
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time