HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Basic Problems

11-08-2003, 07:28 PM#1
YellowSubmarine
All right. A couple of basic problems:

-How do you set an ability not to have an icon? When I set it to none, it appears as that Sammy icon thing.

-I set a unit's Acquisition range to 0, and he still acquires units. How can I make a unit not acquire units, but still be able to attack?

EDIT: Oh, yeah, a basic WE question: I want a unit to learn an ability X times; to do this, he'd learn the ability if a variable is greater than 0, 1 is subtracted from the variable, and so on until the variable is exhausted and he stops learning. How can I loop a function in that manner?
11-08-2003, 07:35 PM#2
AllPainful
Set and ability to have no icon = Not possible...

Base the ability off of something that doesn't have an icon = Possible...

None of the "Orb of ***" abilities will have an icon if you give them to a unit... hense they are very good for attaching models to units. (including hero glows)



Set acquisition range to 1, because 0 acquisition range = Unlimited (the unit can acquire any target ANYWHERE on the map the player can see.)
11-08-2003, 07:43 PM#3
YellowSubmarine
I solved the Acquisition problem by just making the unit's classification that of a peon.

The problem with its not having an icon is that I need the ability to be Critical strike-- I'm making a hero occasionally learn and unlearn the ability for particular reasons, and it'd be much better if the ability didn't show. Is there an item critical strike, maybe?

Also, help with looping would be much appreciated.
11-08-2003, 08:31 PM#4
AllPainful
Yes there is a critical strike item ability... Does it have an Icon, I don't know but I think the answer is Yes...

But I think you might be able to "Fake" the critical strike with the fire orb... not sure though, been a while since I played with the fire orb.
11-09-2003, 04:13 AM#5
ls_freak
Here's how I uninterntially got a blank icon--import it in .tga format :P I tried an extremely slight alteration on the Heal button and the HealTurnOn & HealTurnOff where both in .tga format, so it's jsut a blank icon. However, the tooltip still appears and as far as I know there's no way around it. Hope that helps though!
11-09-2003, 04:19 AM#6
35263526
You should just be able to make the ability an Item Ability. You can add it through triggers, and I'm pretty sure you can also add it in the Unit Editor.