- Joined
- Feb 18, 2011
- Messages
- 62
So for the last days, I am stuck at this problem.
I want to make a JASS function(plz no vJASS) that takes a unit, and returns the raw code of the unit, in unit-type/integer/string form(form doesn't really matter as long it works)
I also have an global integer array(easily converted to unit-type or string if that helps), that stores all unit-type raw codes at map initialization(so the above function, will definitely take advantage of this)
I want to make a JASS function(plz no vJASS) that takes a unit, and returns the raw code of the unit, in unit-type/integer/string form(form doesn't really matter as long it works)
I also have an global integer array(easily converted to unit-type or string if that helps), that stores all unit-type raw codes at map initialization(so the above function, will definitely take advantage of this)