• 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.

??? spells dont work ???

Status
Not open for further replies.
Level 2
Joined
Apr 16, 2005
Messages
10
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??
 
Level 2
Joined
Apr 16, 2005
Messages
10
Jacek said:
Try 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 8)
 
Level 14
Joined
Nov 25, 2004
Messages
1,185
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 :

JASS:
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).

Hope you get it. Reply with results.
 
Level 2
Joined
Apr 16, 2005
Messages
10
i already new that.. but i just dont gwet the dummy part who is the dummy? the firelord?
if it is the firelord, would it be n001?
 
Level 2
Joined
Apr 16, 2005
Messages
10
okok the spell is working... halfway
the spell forms a flower and everything.. it just doesn't deal damage :x :? :evil:
 
Status
Not open for further replies.
Top