Posts
360
Respect
72Add +1
Forum Rank
Perk Hacker
Primary Group
Donator ♥
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!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
But this lets you buy the door with the electricity off.
I have a similar script in my map. I use two triggers, one for the hint and other for the door.
My code is something like:
This works well, but I'm sure there are better ways to do it.
flag_wait( "electricity_on" ); // WILL FREEZE HERE TILL POWER ON
trig setHintString("press and blabla to open");
trig waittill("trigger", player); // SO COULDNT POSSIBLY DO THIS
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
If you do it this way, and set the hintstring twice, you should use the hintstring from the perks so your not adding another hintstring towards the limit.
You could also edit your zombiemode_blockers_new.gsc where your debris is handled.
Modifying the debris_init() like this should work:
Of course this would require you made a kvp script_noteworthy = "electric_door" on the trigger