Hi (WOO FIRST POST) ive been downloading a couple of fire spells for my map, when i copy everything its alright.. but when i cast the spell, it doesnt show up :-\ can someone tell me why??
JacekTry the Spell Import Tutorial. And tell what spells you wanted to import.
I found my problem, i didnt add the trigers :\ however it said copy your unit code into 'n000' and when i do it just creats thousands of copies of me that die in 20 secs BTW im trying to use Fireflower (Num 2 most dled spell) EDIT: Heres the code i dont get: //And finally you need to change n000 to the unit codes of the fire dummy in your map Im gonna get some sleep c ya
That is easy. When you copied triggers and units, go to Object Editor then to Abilities. Press Ctrl-D or select Edit > Show values as raw data. Instead of unit names the rawcodes will appear. In the spell trigger you have :
function getFireFlowerAbilityCode takes nothing returns integer
return 'A000' //To implement just change A000 to the ability code of the 'Fire Flower' spell in your map
endfunction
function getFireFlowerAbilityCode2 takes nothing returns integer
return 'A001' //Just change A001 to the ability code of the 'Fire Flower Damage' spell in your map
endfunction
function getFireFlowerDummy takes nothing returns integer
return 'n000' //And finally you need to change n000 to the unit codes of the fire dummy in your map
endfunction
Now look at the rawcode of spell Fire Flower and replace the A000 with your rawcode. Do the same with spell FireFlowerDamage, this time replacing the A001. Go to Units, check the Dummy rawcode and replace it with n000. Beware, rawcode is casesensitive (if your rawcode is 'u001' and you write 'U001' it will not work).
Did you PM the creator of the map? That's what I already suggested into the Import Tutorial and its the best source. Anyway, when I get back from school, I will have a look at it!