Here is the unit what i need to be marked every time:
Spoiler
_unit_11 = objNull;
if (true) then
{
_this = _group_2 createUnit ["INS_Bardak_DZ", [2011.6644, 2244.1541, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
_unit_11 = _this;
_this setVehicleVarName "myunit";
myunit = _this;
_this setUnitAbility 0.60000002;
if (false) then {_group_2 selectLeader _this;};
};
**another thing.. i need my unit in not allow damage mode... i try whitallowdamage false; but isnt work. i guess its no work cuz allowdamage its for use in local. Thers another way¿? any god mode for units in moves?
Question
juandayz
Hi, i need to know how to set up a updated marker every 10 sec or X time...
try whit this but isnt work:
updatemark.sqf
then i call it from init.sqf at very bottom whit:
[] execVM "custom\updatemarker.sqf";
Here is the unit what i need to be marked every time:
_unit_11 = objNull;
if (true) then
{
_this = _group_2 createUnit ["INS_Bardak_DZ", [2011.6644, 2244.1541, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
_unit_11 = _this;
_this setVehicleVarName "myunit";
myunit = _this;
_this setUnitAbility 0.60000002;
if (false) then {_group_2 selectLeader _this;};
};
**another thing.. i need my unit in not allow damage mode... i try whit allowdamage false; but isnt work. i guess its no work cuz allowdamage its for use in local. Thers another way¿? any god mode for units in moves?
any idea?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now