sevensc
New Member
- Reaction score
- 8
I have a trigger that replaces a unit using the line:
But whenever I try and use a variable in the place of 'n00D', the unit doesn't get replaced - it simply disappears.
I've tried using variable types "unit-type" and "integer', both with the same result.
Should I be using a different variable type? Is there some trick to unit type variables? Thanks for any help.
Code:
call ReplaceUnitBJ( tempUnit, 'n00D', bj_UNIT_STATE_METHOD_ABSOLUTE )
But whenever I try and use a variable in the place of 'n00D', the unit doesn't get replaced - it simply disappears.
I've tried using variable types "unit-type" and "integer', both with the same result.
Should I be using a different variable type? Is there some trick to unit type variables? Thanks for any help.