Hello everyone, someone who can help me on how to import this skill to my map is that it is very different from the others, I think it is because of this JASS or GUII
Divine Halo v2.1
Divine Halo v2.1
//Divine Halo by Zaio
//These are right below the IMPORTING INSTRUCTIONS:
function DHCDID takes nothing returns integer
return 'h000' // Change the h000 to your dummy units ID (Hold ctrl and press D on the unit in object editor)
endfunction
function DHCAID takes nothing returns integer
return 'A000' // Change the A000 to your Divine Halo ability ID (Hold ctrl and press D on the ability in object editor)
endfunction
It has instructions in the description. Follow these in this order:
1) Go to file then preferences and enable "automatically create unknown variables when pasting trigger data". If you've done this before you may not have to do it again.
2) To import this spell, open up the test map and copy over the dummy unit, the halo ability, the holy bolt ability, the holy bolt buff, and the Divine Halo trigger.
3) In your map, go into Variables (Control + B) in the Trigger Editor and create all of these variables:
Create 1 timer array with size 1 called TimerUtils_timer
Create 1 integer called TimerUtils_int
Create 1 hashtable called TimerUtils_hash
Create 1 hashtable named DHash
4) In the Divine Halo trigger you want to set 'h000' to whatever your Dummy Unit's ID is. Do the same for 'A000' but set it to the Divine Halo ability ID.
Note: Each ability/unit has it's own unique ID. So whenever you create a new ability or unit a new ID will be assigned to it. To view these ID's press "Control + D" in the Object Editor. The names of the Ability/Unit will change on the left side of the editor to something like A000, A001, A002, h000, etc... Also, Items/Destructibles/Doodads/Buffs/Upgrades have ID's too in case you were wondering.vJASS://Divine Halo by Zaio //These are right below the IMPORTING INSTRUCTIONS: function DHCDID takes nothing returns integer return 'h000' // Change the h000 to your dummy units ID (Hold ctrl and press D on the unit in object editor) endfunction function DHCAID takes nothing returns integer return 'A000' // Change the A000 to your Divine Halo ability ID (Hold ctrl and press D on the ability in object editor) endfunction
5) Last step. I noticed that the the dummy unit isn't setup correctly and will have a delay when casting spells.
To fix this, set the dummy unit's Art - Animation - Cast Backswing and Art - Animation - Cast Point to 0.
This is what I would recommend. It shouldn't take very long and maps are saved separately in documents by default anyway. Did you try my fixed version?The only thing I can think of is to reinstall it from scratch.