Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Devil Dogs SF

Bomb Deactivation

Recommended Posts

I'm trying to add bomb deactivation using add action, will this work?

Bomb:

On Act: bomb = "Bo_GBU12_LGB" createVehicle getPos bomb2;

Add action:

this addAction["Deactivate Bombs","deactivate.sqf"];

Deactivate.sqf:

"4" objstatus "DONE"; tskobj_4 settaskstate "SUCCEEDED"; obj_4 = true; publicvariable "obj_4"; savegame;

delta1 sideradio "radio10";

Would that work? Also, how would I disable the trigger with the bomb which is on a 3 minute timer when deactivate.sqf has been activated? (Is there a way to make the explosion bigger than that?)

Share this post


Link to post
Share on other sites

Name the trigger tgrBomb and in deactivate.sqf have:

deleteVehicle tgrBomb

Btw, that objStatus stuff is obsolete, check out the new Briefing system.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×