I use the custom base that MaxPowers made as my base and think it would be a good location for an invade-type-event.
(Players have 1 hour to get in, grab the loot and get out. Whilst the Admins defend or the other players get into a free-for-all.)
Is it possible to alter the dome code so that a mouse-menu can switch on and the dome or does this kind of stuff in ArmA 2 require a restart?
Something like AxeCop's starter box code:
if ((getPlayerUID player) in ["12345678"]) then { // list of admin UID's who can use the script
if (_canDo && (speed player <= 1)) then {
if (s_player_domeOn < 0) then {
s_player_spawnBox = player addaction [("<t color=""#007ab7"">" + ("Dome ON") +"</t>"),"scripts\domeOn.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_domeOn;
s_player_domeOn = -1;
};
};
Annoyingly, I have a good idea how to do all this in C++ but can't get my head around ArmA 2's use of variables.
Question
DY357LX
I've added the dome script from dayz.st to a few Admin bases and it's working fine.
I use the custom base that MaxPowers made as my base and think it would be a good location for an invade-type-event.
(Players have 1 hour to get in, grab the loot and get out. Whilst the Admins defend or the other players get into a free-for-all.)
Is it possible to alter the dome code so that a mouse-menu can switch on and the dome or does this kind of stuff in ArmA 2 require a restart?
Something like AxeCop's starter box code:
Annoyingly, I have a good idea how to do all this in C++ but can't get my head around ArmA 2's use of variables.
Any ideas are welcome! Thanks!
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