HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

QUESTION; concerning Items. !!!HELP!!!

07-07-2005, 06:25 PM#1
Guest
I was wondering if it was possible to make an item that then like every 1 second or so loses HP. I don't think it works with abilities. Or well i tried and failed. It might be possible with triggers, but i am not sure. So wanted some advice on this subject.

Thanks to those who reply and attempt to help me on this subject.


ZtomasZ
07-07-2005, 06:41 PM#2
Undead_Lives
well if u want to make a unit's health slowly go down i know that the pheonix loses health over time.
see if that is an ability, and if it is just make it an item ability and put it on an item.
(hope thats wat u wanted)
07-07-2005, 06:50 PM#3
Guest
Quote:
Originally Posted by Undead_Lives
well if u want to make a unit's health slowly go down i know that the pheonix loses health over time.
see if that is an ability, and if it is just make it an item ability and put it on an item.
(hope thats wat u wanted)

Yeah the pheonix loses health over time, but that is not an ability, that is its health regeneration. Its negative 25 i believe. Also Items aren't the same as units. They have less fields you can fill in.

EDIT: The abilities you give to an item only works on the holder i believe.
07-07-2005, 06:52 PM#4
shadow1500
u use a periodic trigger to reduce the item's life: set life of item = life of item - 10
07-07-2005, 06:57 PM#5
Guest
Quote:
Originally Posted by shadow1500
u use a periodic trigger to reduce the item's life: set life of item = life of item - 10

Yeah I guess that could work but there is one problem: There are like 40 of these in the entire map.
07-07-2005, 11:32 PM#6
Tossrock
Turn on negative reals in preferences, make an ability based on Unholy Aura/Ring of Regen, give it negative life regeneration, put it on your item, profit.
07-08-2005, 01:45 AM#7
Gurrgel
Quote:
Originally Posted by Tossrock
Turn on negative reals in preferences, make an ability based on Unholy Aura/Ring of Regen, give it negative life regeneration, put it on your item, profit.

Pretty sure I've tried that, without success, anyway, even if you've got 40 guys who should use this item, just add/remove them to/from a unit group whenever they pick up/drop the item, and then use the action: Pick Every Unit in Unit Group and do Actions...
07-08-2005, 06:48 AM#8
Guest
Quote:
Originally Posted by Gurrgel
Pretty sure I've tried that, without success, anyway, even if you've got 40 guys who should use this item, just add/remove them to/from a unit group whenever they pick up/drop the item, and then use the action: Pick Every Unit in Unit Group and do Actions...

Cool!!, but are you sure you can add items to a unit group??
07-08-2005, 09:39 AM#9
Anitarf
Quote:
Originally Posted by ZtomasZ
Cool!!, but are you sure you can add items to a unit group??
No, he means you add units to a unit group. Let's make this clear for everyone, do you want to decrease the unit's hp with time, or the item's hp?
07-08-2005, 09:48 AM#10
MercyfulJester
Quote:
Originally Posted by Anitarf
No, he means you add units to a unit group. Let's make this clear for everyone, do you want to decrease the unit's hp with time, or the item's hp?

I think the item's HP.
07-08-2005, 10:28 AM#11
Thunder_Eye
Just use this trigger (you might have to modify it)

Code:
DamageItem
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Item - Pick every item in (Playable map area) and do (Actions)
            Loop - Actions
                Item - Set life of (Picked item) to ((Current life of (Picked item)) - 1.00)

Woalla!
07-08-2005, 12:41 PM#12
Guest
Quote:
Originally Posted by MercyfulJester
I think the item's HP.

Yeah if you read my first post clearly it says "Items". I don't know where people got units from??



Quote:
Originally Posted by Thunder_Eye
Just use this trigger (you might have to modify it)

Thanks
My bad that was simple enough. :o
07-08-2005, 03:35 PM#13
falconmiles
use an ability of healing aura, change it percentage to FLASE, and you can set the hit point /second to nagtive, and make the aura status-target allowed to hero/self, then make your item to have that aura.
It seems "Building destory aura"(sorry for the spelling, I am Chinese) of Naga tunado also works ,just change the target allowed to Hero/Self
07-11-2005, 02:12 PM#14
Guest
Quote:
Originally Posted by falconmiles
use an ability of healing aura, change it percentage to FLASE, and you can set the hit point /second to nagtive, and make the aura status-target allowed to hero/self, then make your item to have that aura.
It seems "Building destory aura"(sorry for the spelling, I am Chinese) of Naga tunado also works ,just change the target allowed to Hero/Self

Thank u very much, i'll try that.
07-14-2005, 11:38 PM#15
Peekaboo
erm.. if you want an item that causes the hero to lose hp why not just put on negetive real and make an item ability based off ring of regen for -1regen or something?