- Joined
- Sep 19, 2006
- Messages
- 152
1) Is it better to use something like RACE_UNDEAD or its converted version ConvertRace (3)? And, if RACE_OTHER is ConvertRace (7), then what is ConvertRace (6?)
2) Is there any efficiency difference between a trigger event-triggering every 30 seconds, or triggering only once and then running itself after a 30-second wait, like:
call TriggerSleepAction (30.00)
call TriggerExecute (GetTriggeringTrigger ())
3) In a trigger's condition part, is it necessary to assign and null a variable if it is referenced only once, like:
function Trigger_Condition01
return GetTriggerUnit () = udg_unit
endfunction
2) Is there any efficiency difference between a trigger event-triggering every 30 seconds, or triggering only once and then running itself after a 30-second wait, like:
call TriggerSleepAction (30.00)
call TriggerExecute (GetTriggeringTrigger ())
3) In a trigger's condition part, is it necessary to assign and null a variable if it is referenced only once, like:
function Trigger_Condition01
return GetTriggerUnit () = udg_unit
endfunction