Posts
941
Respect
146Add +1
Forum Rank
The Decider
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!first of all use codeboxed, second, do you want the trigger to display that text or just do a print? also do you want the trigger to turn on the power?
i want the trigger to turn on the power and display the text but zombies wont spawn untill the power is on
it didnt work
zombies wont spawn untill the power is on
id gave bad syntax or didnt printed anything?
That is because you are calling your script like this:
while you should be calling it as a thread, as jjbradman said:
But also, thisIs not necessary and badly overcomplicates the whole script. iPrintLn() will print on the screen of all players by default (= if not called on a specific player). So the original script was perfectly fine in that regard.
Anyway, you might be best off just editing the power switch code in dlc3_code.gsc
- Phil.
Would you post your mapname.gsc code?
- Phil.
lol yaphil slapped me again with my fails haha
but then the real problem must be other script not this one
You can have more than one power system. Just make a basic trig, edit the prefab's KVP's, and notify the level for the perks and "electricity on". Just make sure that you have the original DLC3 power switch hidden in your map somewhere.