how does victory.sqs work?
and what is _i, _j, _c, "scalar", format ["%1",count units (_grpA select _j)], etc.
thx for the script tho, works perfect
edit:
ok what i have so far is this:
cond = false *** says that the condition has not been fulfilled yet
_grpA = _this *** names the trigger _grpA
#Start
~1
_trig = +(list trig1) *** says that _trig is something, not sure what the + means
_i = 0 *** defines a variable, not sure what the variable does
_j = 0 *** defines a variable, not sure what the variable does
_c = 0 *** defines a variable, not sure what the variable does
the rest is is a jumble without knowing what the first part is
#Cond
? (format ["%1",count units (_grpA select _j)] == "scalar") : goto "Loop"
? !(alive (leader (_grpA select _j))): goto "Loop"
? ((_trig select _i) in (units (_grpA select _j))) : goto "Loop"
_i = _i + 1
? (_i == (count _trig)): goto "Start"
goto "Cond"
#Loop
_c = _c + 1
? (_c == (count _grpA)): goto "End"
_j = _j + 1
? (_j == (count _grpA)): goto "Start"
_i = 0
goto "Cond"
#End
cond = true
~5
hint format ["Objective Done"]
Exit