I would make a unit creation trigger if the unit is not already placed:
Action - Create 1 <unit type> at location
Action - Set variable <Global Unit Variable> to Last created unit
I might be off on my assumption of what your trying to do. Explain a bit more about what your trying to do and others will jump in.
Are you assigning the unit to the variable?
I would make a unit creation trigger if the unit is not already placed:
Action - Create 1 <unit type> at location
Action - Set variable <Global Unit Variable> to Last created unit
I might be off on my assumption of what your trying to do. Explain a bit more about what your trying to do and others will jump in.