• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

what isthe best way to transfer specific units

Status
Not open for further replies.
You can do it with the JNGP.

First, export your unit datas (File -> Export unit datas). It will create a file with .w3u extension.
Then open your other map and put this vJass line somewhere in the script :
JASS:
//! external ObjectMerger i <File path>
And replace <File path> by the .w3u file path ("C:\UnitDatas.w3u" for example).
Then save your map, close it and reopen it and it should be done.

If you have problems with external call, check up your jasshelper.conf file (it's inside the "jassnewgenpack5d\jasshelper" directory) and put those lines :
Code:
[externaltools]
"ObjectMerger","C:\Program Files\jassnewgenpack5d\grimex\ObjectMerger.exe"
 
Level 21
Joined
Mar 2, 2010
Messages
3,069
i dont want to risk being sued by blizzard for using a third party program. i would prefer if it was done the right way. blizzard seem to be working on a patch at the moment and that could completely prevent vjass from working.(i have found a test server on battle.net.) my pc is a bit slow at the moment so switching between maps takes a while. is there a way to access the exported things by importing them into the import manager.
 
Status
Not open for further replies.
Top