Discussion of all the new / improved commands within ArmA 2.
As we all should know, ArmA 2 introduced a tonne of new (wonderful) commands to the scripting environment; and I feel as they are the most useful to me at the moment, to discuss these new commands.
allUnits
allGroups
Vehicles
playableUnits
edit: These commands are live and constantly updating, which is excellent news. A simple body remover script is easily made via a recurring script / trigger of the following:
while {true} do {
sleep 60;
{hidebody _x} foreach (RMM_AllUnits - AllUnits); RMM_AllUnits = AllUnits
}
---
Also, what other new global variables have been introduced into ArmA 2?
You see all the new diag_ functions, with a built in (diag_log) rpt dump command. Bloody useful, stops us using the old days of 'localize' to dump strings into the rpt.
Also anyone tried out: debugLog, and know the difference yet? I just found it, and can't test it yet.
Commands I hope to clarify on in the next few days:
enableSimulation
enableSaving
endMission
failMission
gearSlotData
isDedicated
LifeState
selectNoPlayer
ServerTime
setUnconcious
ppEffects, what can we disable here, "Radialblur"... what else
----