HistoryFan_13654 0 Posted May 24, 2024 Hi, i am trying to make a gbu-12 spawn when a plane flies through a trigger, but i am not sure what scripts are required to make this happen. Could someone please help me? Thanks. Share this post Link to post Share on other sites
W0lle 1052 Posted May 24, 2024 In the triggers onActivation field: boom="Bo_GBU12_LGB" createVehicle getPos whatever; where 'whatever' can be any object at which the LGB is to spawn. An invisible helipad, for example. 1 Share this post Link to post Share on other sites
HistoryFan_13654 0 Posted May 25, 2024 Thanks a lot! Share this post Link to post Share on other sites
JCataclisma 80 Posted May 25, 2024 Do you want it to explode as well, or that it's just spawned? You could add full damage to into to force explosion: setDamage [1,TRUE]; _boom="Bo_GBU12_LGB" createVehicle getPos whatever; _boom setDamage [1,true]; And in case you want to follow that traditional suggestion of initially creating the object on the "0,0,0" mark, and then move it to desired position immediately after: _boom = createVehicle ["Bo_GBU12_LGB",[0,0,0]]; _boom setPos (getPos whatever); _boom setDamage [1,true]; Share this post Link to post Share on other sites