Sorry to bring up an old topic, but I'm learning the Arma 3 scripting and having some trouble.
I'm trying to do something pretty simple. I want an OPFOR character to drop a piece of specific intel when he is killed. So far I've been able to create the piece of Intel exactly how I want it. I can have it spawn at his feet at the start of the mission, but I cannot figure out how to make it spawn when he is killed.
I have a sqf named "inteldrop.sqf" that contains:
Doc1 setPos (Hasib1 modelToWorld [1,-1,0]);
This is what drops the intel "Doc1" at the start. Do I need to add a modifer to the init.sqf file to only run inteldrop.sqf when the character Hasib1 is !alive? Any help is appreciated.