Created
March 4, 2016 18:53
-
-
Save BaerMitUmlaut/54df49d9a3a22dd4aea6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn_suicideBomber = { | |
params ["_unit"]; | |
private ["_expl1", "_expl2", "_expl3"]; | |
_unit addItem "ACE_DeadManSwitch"; | |
// - Code from KK --------------------------------------------------------- | |
_expl1 = "DemoCharge_Remote_Ammo" createVehicle (position player); | |
_expl1 attachTo [_unit, [-0.1,0.1,0.15],"Pelvis"]; | |
_expl1 setVectorDirAndUp [[0.5,0.5,0],[-0.5,0.5,0]]; | |
_expl2 = "DemoCharge_Remote_Ammo" createVehicle (position _unit); | |
_expl2 attachTo [_unit, [0,0.15,0.15],"Pelvis"]; | |
_expl2 setVectorDirAndUp [[1,0,0],[0,1,0]]; | |
_expl3 = "DemoCharge_Remote_Ammo" createVehicle (position _unit); | |
_expl3 attachTo [_unit, [0.1,0.1,0.15],"Pelvis"]; | |
_expl3 setVectorDirAndUp [[0.5,-0.5,0],[0.5,0.5,0]]; | |
// ------------------------------------------------------------------------ | |
{ | |
[_unit, _x, "ACE_DeadManSwitch"] call ace_explosives_fnc_connectExplosive; | |
false | |
} count [_expl1, _expl2, _expl3]; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Mezilsa