HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help

07-08-2004, 07:02 AM#1
Cell
If a peon pick up a item how do i make him learn heal? like the item grants the heal ability?
07-08-2004, 07:14 AM#2
HexenLordX
Quote:
Originally Posted by Cell
If a peon pick up a item how do i make him learn heal? like the item grants the heal ability?

Try this trigger:

Heal
-Events
Unit - A unit Acquires an item
-Conditions
(Unit-type of (Triggering unit)) Equal to Peon
-Actions
Unit - Add Heal to (Triggering unit)

Note: If you use this trigger, your peon will learn heal no matter what Item he picks up. If you make a dummy item, you should add a condition like this to limit it to a certain type of item:

-Conditions
(Item-type of (Item being manipulated)) Equal to Heal Stone
07-08-2004, 07:21 AM#3
Cell
i dun get it. there a easier way? so i can unlearn heal when i take the item off.. its like a frist aid kit ... and it lets u learn heal... but when u take off u dont know it anymore.. its not a hero thing.. its a unit skill..any help? >< cuz i didnt really get waht u saidl..
07-08-2004, 07:36 AM#4
GaDDeN
You add the heal ability to the item in the object editor. its the field on top in the objevt editor when u edit the item. And its a hero "thingie", units cant use item abiliies. If this is NOT what iu thought, u are thinking of something impossible. Otherwise you use Hexen's trigger which work perfectly and gives you what you want.
07-11-2004, 03:46 PM#5
randyM4A1
Quote:
Originally Posted by Cell
i dun get it. >>>>(((there a easier way? so i can unlearn heal when i take the item off)))<<<<.. its like a frist aid kit ... and it lets u learn heal... but when u take off u dont know it anymore.. its not a hero thing.. its a unit skill..any help? >< cuz i didnt really get waht u saidl..

if you wanna unlearn heal from units

Try this trigger:

-Events
Unit - A unit Losses an item
-Conditions
(Unit-type of (Triggering unit)) Equal to Peon
-Actions
Unit - Remove Heal from (Triggering unit)

im not sure what you want but...try to replace unit peon instead of hero and add/remove healin abillity from it ..
07-19-2004, 06:45 AM#6
BuRnInSpartan
still need help?
07-19-2004, 07:07 AM#7
HexenLordX
Quote:
Originally Posted by BuRnInSpartan
still need help?

I'm really starting to think your just posting this everywhere to increase post count. If there was still a problem, I'm sure they would've said it didnt work.
07-19-2004, 02:17 PM#8
BuRnInSpartan
i think you keep trying to pick on what i do b/c you want the post count. I'm just asking b/c sometimes people forget there posts and when they go to lke Yahoo to check their mail they see a response from there post. SO BACK OFF DUDE!