- Joined
- Dec 30, 2009
- Messages
- 60
I am trying to define a unit type and when defining with raw code it doesn't work. I get a Type Mismatch error.
Here is the snippet:
All locals are defined in 1 place, right after the beginning of the function and before the first "set" code.
Simply, how do i set a unit type in jass?
Here is the snippet:
JASS:
local unittype Dmmy
//(INSERT OTHER CODE HERE)
//Dummy Unit RAW ID
set Dmmy = 'h000'
//(INSERT OTHER CODE HERE)
All locals are defined in 1 place, right after the beginning of the function and before the first "set" code.
Simply, how do i set a unit type in jass?