Hey all,
In my mission, I want a supply crate to drop from a Blackfish and then fire a flare so that players can see the drop.
To do this, I have a trigger that is activated when the pilot flies over. Here is the on activation code:
_success = objNull setVehicleCargo supplyDrop;
flrpos = supplyDrop modelToWorld [0,0,100];
flrObj = createVehicle ["F_20mm_Red", flrpos, [], 0,"NONE"];
flrObj setVelocity [0,0,-10];
The supply drop works just fine, but no matter how much I fiddle with the code, the flare never spawns. Please let me know if there is a way to fix the code or if there is another way of doing this.