• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Regular preset Icon wont show up in certain spells

Status
Not open for further replies.
Level 5
Joined
Oct 13, 2005
Messages
120
I created spells for Pheonix fire, item-fire bonus, and other item spells. THe spells worked but there was no icon, only the hero research icon. I did create an icon for the spell itself but it doesnt show. How do you make icons not show and show?
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
Yes, thats normal. I have a solution for that. Make 3 unit abilities. Every ability with the description of the dmg etc of the hero spell.

Events: Hero learns an ability
Conditions: Ability = .....
Actions:
wait 0.01
If:
level of learned ability = 1
Then:
Add Unit ability 1
Else:
Do Nothing
If:
level of learned ability = 2
Then:
Remove Unit Ability 1
Add Unit ability 2
Else:
Do Nothing
If:
level of learned ability = 3
Then:
Remove Unit Ability 2
Add Unit ability 3
Else:
Do Nothing
 
Level 7
Joined
May 16, 2004
Messages
355
Stupid method...very very stupid method. Chaosarmy please ignore Ramza's post, its a bunch of needless work. Refer to the Maps section(I think, it might be in spells) and read the similar post that someone made in which Daelin outlined the intelligent way to fix this.
 
Status
Not open for further replies.
Top