- Joined
- Jul 17, 2011
- Messages
- 1,863
[vJass] Unit Textmacro
Can anyone give me an example of what a UNIT textmacro which crates new units via rawcode and something else should look like i cant get it right i need it to create new units and copy n paste is way too slow for example:
what am i doing wrong
Can anyone give me an example of what a UNIT textmacro which crates new units via rawcode and something else should look like i cant get it right i need it to create new units and copy n paste is way too slow for example:
JASS:
//! textmacro CreateUnit takes RAWCODE
//! external ObjectMerger w3u hpea // this is the rawcode for a peasant
//! endtextmacro
//! runtextmacro CreateUnit("hpea")
what am i doing wrong
Last edited: