Page 1 of 1
Hide/Delete trigger after explosion ?
Posted: Mon Jul 03, 2006 1:54 pm
by mcunha98
Hi,
I have a objective in my map. This objective have a trigger, model, bla bla ... my question is how i hide/delete the trigger after the objective is completed ?
I try $trigger_obj1 hide but nothing...
Some idea ?
Posted: Mon Jul 03, 2006 2:18 pm
by tltrude
$trigger_obj1 remove
or
$trigger_obj1 nottriggerable
Posted: Mon Jul 03, 2006 2:59 pm
by mcunha98
tltrude wrote:$trigger_obj1 remove
or
$trigger_obj1 nottriggerable
Tom,
Again... thanks a lot for usefull help.
Posted: Wed Jul 05, 2006 1:11 am
by mcunha98
Tom
Sorry, but dont work.
I believe is correct the code, ok ?
bomb1_exploded local.bomb1:
while (local.bomb1.exploded != 1)
wait .1
exec global/exploder.scr::explode 1
$radio_sound1 stoploopsound radio_snd
$radio_explosive1 hide
$radio_trigger1 remove
$alert_sound1 loopsound alert_snd
iprintlnbold "Room control destroyed"
end
bomb2_exploded local.bomb2:
while (local.bomb2.exploded != 1)
wait .1
exec global/exploder.scr::explode 2
$flak88_trigger1 remove
$alert_sound1 loopsound alert_snd
iprintlnbold "V2 destroyed"
end
Posted: Wed Jul 05, 2006 3:31 am
by tltrude
Try "delete".
Posted: Wed Jul 05, 2006 4:48 am
by Barttje
did you tried
$radio_trigger1 nottriggerable
...
$flak88_trigger1 nottriggerable
???
Posted: Wed Jul 05, 2006 6:57 am
by jv_map
Remove works perfectly

Posted: Wed Jul 05, 2006 11:59 am
by mcunha98
Ok i will try 2 methods and soon post result.
Thanks for suggestions.