Icedragon
BattleForums Addict
Does a Unit's custom value start at something Like 0 or if i want to use it to compare something should i set it to 0 when the unit spawns?
Right now my triggers look like this so i know it works but i was wondering if the first trigger is a bit redundant
Leveltimer Expires
No Conditions
Spawn Units
Set units custom value to 0
Unit enters reg 3
No Conditions
Set custom value to 1
move to reg 1
Unit enters reg 1
if unit custom value > 1 then move to reg 2
if unit custom value < or equal to 1 move to end
Right now my triggers look like this so i know it works but i was wondering if the first trigger is a bit redundant
Leveltimer Expires
No Conditions
Spawn Units
Set units custom value to 0
Unit enters reg 3
No Conditions
Set custom value to 1
move to reg 1
Unit enters reg 1
if unit custom value > 1 then move to reg 2
if unit custom value < or equal to 1 move to end