- Joined
- Feb 19, 2010
- Messages
- 182
Well I have searched everywhere and found no way to do this in GUI so I felt like posting a tutorial for everyone... Here is how its done:
You first make a spell book like ability which can be found in items of spells of object editor.
Next part is adding locust to the spell book, you must add it to spell list by finding it and then adding it.
Now triggers, you must make a variable that is a unit to identify the unit you want to add locust too like this: Set Variable/what ever the name is = last created unit but for that to work you must first create the unit then do this below it.
Next part is going into actions - unit and find unit add ability then go find your spell book ability. Then your done it will work if you have followed my instructions and know a bit of triggering yourself.
Now onto the next part of removal of locust without jass...
Well first thing before I say anything else you can not fully remove locust from a unit without replacing it from using GUI, you can make it be attacked again but it is impossible to be selected ever again but at least you can still remove it or replace it if you want it to be selected again... You must find a correct event such as player 1 red presses esc/escape key then action remove spell book ability from variable/unit.
That's all, simple isn't it?
You first make a spell book like ability which can be found in items of spells of object editor.
Next part is adding locust to the spell book, you must add it to spell list by finding it and then adding it.
Now triggers, you must make a variable that is a unit to identify the unit you want to add locust too like this: Set Variable/what ever the name is = last created unit but for that to work you must first create the unit then do this below it.
Next part is going into actions - unit and find unit add ability then go find your spell book ability. Then your done it will work if you have followed my instructions and know a bit of triggering yourself.
Now onto the next part of removal of locust without jass...
Well first thing before I say anything else you can not fully remove locust from a unit without replacing it from using GUI, you can make it be attacked again but it is impossible to be selected ever again but at least you can still remove it or replace it if you want it to be selected again... You must find a correct event such as player 1 red presses esc/escape key then action remove spell book ability from variable/unit.
That's all, simple isn't it?
Attachments
Last edited: