We are looking for a way to limit storage on Epoch, One you have too much stuff it gets boring. anyone out there know of a way to remove the storage buildables? (sheds etc) or an SQL cleanup to empty sheds etc?
Is there a way of adding new items?
For example, if I want a magazine item "electronics" using the canvas icon for example.
Im guessing is in the mod itself, but was wondering if its do-able via script.
Thanks in advance for any time taken.
Stupid question, how do I add an OR condition to an if statement?
EG:
//Make sure player has a radio
if (_hasRadio) then {
want to add "or if in a vehicle" to if "has radio"
(vehicles have radios :) )
Thanks in advance for any help.
OK here are the 3 finished scripts. You need Road Flares and a toolbox.
I have the first setflare.sqf firing from a right click in roadflares.
setFlare.sqf
private ["_mypos","_bombOwnerUID","_mags","_tool","_isAlive","_onLadder","canDo"];
_mags = magazines player;
_tool = items player...
should be do-able in this bit:
/*while {getpos(_flare) select 2 > 0} do
{
sleep 0.125;
//_pos = getpos(flare);
//Hint format ["Height: %1\nSpeed: %2",_pos select 2,_v0];
If ((alive _flare) and (_v0)>-1) then
{
_flare setVelocity [0,0,(_v0)];
_v0=(_v0) - (_inc);
};
};
Ill clean it up and fiddle...
WOOT!
Due to my density it has been a hard and much assisted birth, but it works. I changed the Countermeasure for a f_40mm_red and attached the lightpoints and it works. I would like to Thank you guys for not just the help in the script but helping me understand it, and to Matt L for the booby...
well I did getPosATL _flare after its created and got
21:47:12 "countermeasure position [7198.6,2988.57,150]"
which seems correct. Im wondering if the FlareCountermeasure object is doing something...
Will try some more, any insights welcome.
OK this is where I am at.
I got the positions and variables sorted out
The flare detonates, and I can hear the object (FlareCountermeasure), but not see it.
It seems to me that its creating underground (from the sound) even when z pos is set to 150.
There are no errors in the log.
Excuse the...
ok the results Im getting are:
8:50:33 "flare position is [["DZ_flareTrap",[[7204.79,2990.61,0.00172043]]]]"
8:50:33 "BOMBPOS is ["DZ_flareTrap",[[7204.79,2990.61,0.00172043]]],<null>"
8:50:33 "position is any,any,any"
position being _position variable.
_position = (_bombpos select 0) select 1...
Ok, tried your suggestion, getting:
14:18:27 "flare position is [["DZ_flareTrap",[[7211.33,2993.15,0.00165176]]]]"
14:18:27 z\addons\dayz_epoch\models\skull.p3d: No geometry and no visual shape
14:18:27 z\addons\dayz_epoch\models\skull.p3d: No geometry and no visual shape
14:18:27 "created...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.