HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Powerup items.....

09-25-2003, 12:01 AM#1
35263526
I have made a trigger so that when a unit variable PlayerHero walks over an item, that item is picked up by PlayerHero. This all works fine, but for some reason when PlayerHero walks over powerups, there is no effect.

Also, sometimes the trigger does not work when a hero walks over an item. Any idea why?

The trigger I'm using is a 0.1 second periodic trigger that picks every item within a region centred at PlayerHero with a hieght of 50 and a width of 50 and gives the picked item to PlayerHero.
09-25-2003, 12:04 AM#2
Draco
What if you order the unit to pick it up?
09-25-2003, 12:05 AM#3
35263526
me dumb... didn't think of that. oh well, it is 1 in the morning.
09-25-2003, 04:12 AM#4
Otiluke
He's quite right, in your other method I suspect that items with charges would be restored to full charge after being "picked up" like that.
09-25-2003, 01:36 PM#5
Vexorian
Quote:
Originally posted by Draco
What if you order the unit to pick it up?


I was using the number guy's method in my arena, It worked with Powerups Badly (The tome bug is still there, but only abusable by computers ... ) What is the order to pick an item?
09-25-2003, 04:27 PM#6
35263526
I can't find it. I changed the trigger's actions to this:

ACTIONS
Pick every item in region centred around PlayerHero with height 100 and width 100 and do multiple actions:
If class of picked item equal to powerup then order PlayerHero to use picked item. Elze give picked item to PlayerHero.

I have found that this works well.