------------------------------------------------------
QUESTION 1
------------------------------------------------------
If I do:
[30] Exec "pushups.sqs";
in the initialization field, they only do 3 pushups (which is only 1 playMove "FXStandDip").
Why won't he do 30?
; pushups.sqs - Order a unit to do pushups
PushUpTotal = _this select 0;_i = 0;
PushUpTotal = PushUpTotal - 3;
? PushUpTotal < 1:PushUpTotal = 1;
goto PushUps;
#PushUps
@ _i != PushUpTotal
this playMove "FXStandDip";
_i = _i+1;
goto PushUps;
exit
------------------------------------------------------
QUESTION 2
------------------------------------------------------
Also with nearestObject, I tried to get the nearest dead soldier, but I simply can't. I tried:
nearestObject[this,Man]
nearestObject[this,"Man"]
for an alive soldier (doesn't work), and I tried:
nearestObject[this,!alive Man]
for the nearest dead man. Why wouldn't it return an object?
------------------------------------------------------
QUESTION 3
------------------------------------------------------
Is it possible to make a unit turn on full-auto mode on his weapon if he has a weapon with full-auto capabilities?
------------------------------------------------------
QUESTION 4
------------------------------------------------------
What do I do to define (in description.ext) a Resource for titleRsc ["RESOURCE_HERE", "PLAIN"]?
What do I do to define (in description.ext) an Object for titleObj ["OBJECT_HERE","plain"]?