TUTORIAL: turn light on and off
SCRIPT:
#using scripts\shared\exploder_shared;
thread light_on_off();
function light_on_off()
{
level.light_on = false;
light_trig = GetEnt("light_trig", "targetname");
light_trig SetCursorHint("HINT_NOICON");
light_trig SetHintString("press the button");
while(1)
{
light_trig waittill("trigger", player);
light_trig Hide();
if(level.light_on == false)
{
// Exploder ON
exploder::exploder( "light_test" );
IPrintLnBold("i should light up");
level.light_on = true;
}
else
{
exploder::exploder_stop( "light_test" );
IPrintLnBold("i should turn off");
level.light_on = false;
}
wait 2;
light_trig Show();
}
}
WRITTENT TUTO: http://wiki.modsrepository.com/index.php?title=Call_of_duty_bo3:_ZM_Exploders
Other Videos By Symbo
Other Statistics
Call of Duty: Black Ops 4 Statistics For Symbo
There are 913 views in 2 videos for Call of Duty: Black Ops 4. Less than an hour worth of Call of Duty: Black Ops 4 videos were uploaded to his channel, making up less than 0.57% of the total overall content on Symbo's YouTube channel.