Ashlebede
New Member
- Reaction score
- 43
So I read this tutorial : http://www.thehelper.net/forums/showthread.php?t=125678
That seems pretty useful, since my map should use many units which are about the same, except for a few of their stats. So I tried doing some basic stuff with the ObjectMerger, and none of it worked. So I figured I should try with even more simple. In the end, my code was like this :
And it still won't work. Now, when I save, there is no compilation error or anything. It's just that when I close and reopen the map, I don't see a new unit.
I tried placing the command outside a library or in the library's initializer. Didn't work. 'e000' is an unused rawcode in my map. I tried changing it to something else, but in vain.
That seems pretty useful, since my map should use many units which are about the same, except for a few of their stats. So I tried doing some basic stuff with the ObjectMerger, and none of it worked. So I figured I should try with even more simple. In the end, my code was like this :
JASS:
library myLib
//! external ObjectMerger w3u ewsp e000
//don't let !external command be the last line of a trigger
endlibrary
And it still won't work. Now, when I save, there is no compilation error or anything. It's just that when I close and reopen the map, I don't see a new unit.
I tried placing the command outside a library or in the library's initializer. Didn't work. 'e000' is an unused rawcode in my map. I tried changing it to something else, but in vain.