HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Anti-Buttons and Random Items

10-19-2003, 01:38 AM#1
Bhav_88
Question One:

How can I get rid of an icon completely? I want a spell that does not have an icon. Don't even bother responding if your advice is "make it from a spell that doesn't have an icon". Can it even be done?

Question Two:

How do I make units that are spawned randomly drop items from a set? AKA, if a skink spawns every five seconds, how to I make it so that occasionally one of those skinks will have an item?
10-19-2003, 03:30 AM#2
ObsidianTitan
1) What i do is under custom remove a couple letters from the file name, this makes it load a green square. If you dont want that you need to load a custom .blp that is black.

2)This is kind of easy
Event-Unit Dies
Condition-Dying unit type equal to skink
Action-If ((random number between 1 and 10 equal to 1) then (Create Item at possision of dying unit) else (do nothing))
10-19-2003, 03:36 AM#3
ZealousDemon
I had the same problem before with number one as you are having. If you're making a custom spell, check to see if there is an item ability you can base it off of.

If you've already done and attempted something like that, there's a way to make it blank, but you'll still see an area for a tooltip if you hover over a certain square. To do it, change your icon path to Textures\Dust5ABlack.blp . Again though, you'll still see a tooltip area if you hover over the right square. I think you'll be S.O.L. if you wanna get rid of that. I have the same problem.
10-19-2003, 07:44 AM#4
Elfis
You might be able to just flag it as an item ability
10-19-2003, 05:54 PM#5
Bhav_88
Tried it, sadly... And there can't be a blank square, either, unfortunately.


Basically, it adds a modified disease cloud to every unit that it touched by another unit with this disease cloud. So I have disease cloud that spreads across the whole map, in time.

If, for instance, it were to infect a hero, (we are using all 6 blanks) it would push another spell off the screen.

Is there a way, perhaps, to remove the patrol ability and replace it with this?
10-19-2003, 06:01 PM#6
Hunter0000
im not sure if this would work but..

set the XY positsion of the ability to the postion of patrol, the buttons are like this, Top left is 0,0 Top Right is 3,0 Bottem left is 0,2 and Bottem right is 3,2
10-19-2003, 06:05 PM#7
Supra God CrK
there is a way but i'm not sure how. i saw a post on it before tho. do a search maybe you will find it. i would like to know how as well so if you find it could you post it here?