Jan_F_W 10 Posted July 10, 2009 Hi guys, how can I call a script when a verhicle gets destroyed? I would like to rearm/reconfigure certain units after they have been destroyed. Im not sure but I would use something like this: - UNIT addEventHandler ["Killed", {_this exec "Skript.sqs"}] [Name1,Name2,Name3] exec "skript.sqs" for the group. in the script I would write something like: _Unit = _this select 0 @alive _Unit removeallWeapons _Unit _Unit addmagazine "30Rnd_545x39_AKSD"; _Unit addweapon "AKS74UN"; exit; Is this the way it would work? Share this post Link to post Share on other sites
Jan_F_W 10 Posted July 11, 2009 :cool: Answering my own question you can find the solution to this here: http://forums.bistudio.com/showthread.php?t=79070 Share this post Link to post Share on other sites