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

Ability Name Problem !

Status
Not open for further replies.
Level 5
Joined
May 12, 2013
Messages
70
Hey there guys. I'm working on my new map and lately, I've encountered a problem I can't seem to understand.So here goes :
Its something like this that when you buy an item from the shop, the Item's Ability is added to your spells. I've DotA spells since they're famousm currently Just Meat Hook, Shukuchi, and Magic Missile. Now thing is, When I'm testing the map, I buy the item. Everything works perfectly but the problem is their description is totally different from what I've mentioned in the abilities. Similarly, their names are also different from What I set them to be. I've checked their names and description many times in the abilities and in the items but It's fine there. Don't know why, its different in the game. Similarly, 2 out of the 3 spells are not working on the Hotkey I selected for them in the Object Editor. Please help. I'm badly stuck. Awaiting answers eagerly.
 
Could you attach a screenshot of a spell of which description doesnt work as you want?

For hotkey, it might be that you wanna use hotkeys which already are used for orders. You can check it.
It depends on your wc3 hotkeys, for example "B" is used for "Move". (for me)
So I cant use B as hotkey for abilitis I think, because it will get order "Move" then.
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
It would be wise to post your map here. Possible issues with this are the item acting as placeholder for ability in shops has different tooltips with the actual ability that'll be given when bought.

Because as far as I know in Spell buying, you need to have an item that will serve as placeholder for abilities and the actual spell that will be given once the item was bought.

Not sure of the case but again, post the map.
 
Level 5
Joined
May 12, 2013
Messages
70
Can someone tell me What the " Text - Order String -Use/Turn on" thing does in the Object Editor ? Because I remember reading somewhere if 2 spells have the same Text Order string or something like that, they can get mixed up or something like that.
 
Can someone tell me What the " Text - Order String -Use/Turn on" thing does in the Object Editor ? Because I remember reading somewhere if 2 spells have the same Text Order string or something like that, they can get mixed up or something like that.

The "problematic" field you are referring to is actually the Base Order ID, rather than the order string. Let's say two abilities have the same base order ID. If a unit has both those abilities, and casts one of them, then both abilities will be triggered.

That is why you can't have a unit with two spells based off the same ability. For example, you can't base two spells off storm bolt for one unit, or else you'll get the same problem as above.

Sadly, most abilities don't allow you to change the base order ID through the object editor. The only exception is Channel, which has a field for it. That is why most custom spells are based off of it. This prevents most of the problems associated with base order ID collisions.
 
Level 5
Joined
May 12, 2013
Messages
70
The "problematic" field you are referring to is actually the Base Order ID, rather than the order string. Let's say two abilities have the same base order ID. If a unit has both those abilities, and casts one of them, then both abilities will be triggered.

That is why you can't have a unit with two spells based off the same ability. For example, you can't base two spells off storm bolt for one unit, or else you'll get the same problem as above.

Sadly, most abilities don't allow you to change the base order ID through the object editor. The only exception is Channel, which has a field for it. That is why most custom spells are based off of it. This prevents most of the problems associated with base order ID collisions.

Kay, Thanks !

Problem Solved. I don't know how exactly, but 2 of the spells Didn't even show the Description tooltip anymore in The object editor. I remade the spells based on other spells and changed their races to Human from Creep and Unchecked Item and Hero ability. Now they show the description and are working fine ! ^_^
Anyways, Thanks everyone !
 
Last edited by a moderator:
Status
Not open for further replies.
Top