Matt use the blast radius as a death zone, ie player within 10meters player dies. Use the radius parameter you are using for the explosion and then halfway though the explosion "setdamage player = 1"It's kicking my ass at this stage.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Matt use the blast radius as a death zone, ie player within 10meters player dies. Use the radius parameter you are using for the explosion and then halfway though the explosion "setdamage player = 1"It's kicking my ass at this stage.
Matt use the blast radius as a death zone, ie player within 10meters player dies. Use the radius parameter you are using for the explosion and then halfway though the explosion "setdamage player = 1"
Mind posting an example I can reference? Not good at this. Would like to add a uid function as well, probs using getvariable and playeruid and somehow setting it to not detonate for the person who sets it
Matt use the blast radius as a death zone, ie player within 10meters player dies. Use the radius parameter you are using for the explosion and then halfway though the explosion "setdamage player = 1"
_trapBomb = "grenade" createVehicle getmarkerPos position_createBomb "setdamage player = 1";
Kinda... I would have used the heli crash explosion though. SetDamage player = 1
Umm... So yeah grab the heli crash explosion variable and then use that because you can adjust the radius
waituntil {(_crashwreck distance _position) <= _exploRange || not alive _crashwreck || (getPosATL _crashwreck select 2) < 5 || (damage _crashwreck) >= _crashDamage};
//Taking out the Tailrotor would be more realistic, but makes the POC not controllable
_crashwreck setHit ["mala vrtule", 1];
sleep 2;
_crashwreck setdamage 1;
_crashwreck setfuel 0;
diag_log(format["CRASHSPAWNER: %1 just exploded at %2!, ", _crashName, str(getPosATL _crashwreck)]);
//She cant survive this :(
_helipilot setdamage 1;
Not to sure, I would probably go about looking through the animated hell crash instead
_trapBomb = ["mala vrtule", 10] createVehicle getmarkerPos position_createBomb "SetDamage Player = 1";
Excellent work!
Will test now, but still not sure whether that createVehicle needs to be setHit or not
If it makes it any easier, don't just let bandits be able to set it off. Survivors, Hero's should blow up as well imo.
Matt passed the project onto me, seems simple enough although I can't script at the moment meaning all four of my scripts are on hold because my screen died about 2 hours ago and I don't have the $120 AUD to replace it at the moment. Hint: donations are appreciated... pm me for details.