HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

trigger question

08-09-2003, 11:42 PM#1
badomen
i got a hero skill that loots nearby corpses.....how would i do this in a trigger..i have a dummy spell but after that im lost


any help
08-10-2003, 04:13 AM#2
WindForce
Loots? Meaning......?
08-10-2003, 04:26 AM#3
SinHarvest
i think he means if the dead user had items the spell takes the items from them. Although, that would only work on heroes... and heroes don't leave a corpse... maybe you should forget this spell and try something else
08-10-2003, 05:04 AM#4
Shvegait
Well, if your spell involves salvaging the rotting flesh and bone of the corpse and selling it for gold and/or lumber, you could do something like:

Event - A unit Starts the effect of an ability
Condition - Ability = (Salvage Corpse Parts)
Actions -
Player - Add Property - Add 10 gold to Owner of (Casting Unit)
Player - Add Property - Add 5 lumber to Owner of (Casting Unit)
08-10-2003, 05:39 PM#5
badomen
sorry to be more clear it requires a nearby corpse that is then removed an replaced with a random lvl 20 item (all custom mainly potions some better)
08-10-2003, 10:41 PM#6
badomen
i have raise dead as dummy spell so when i cast it auto uses body but no matter what i do i cant get the body to do blow up animation...

when the user cast this spell i want the dead body to look like it explodes and do 1 damage to units withen 500 of the body as well as leave item..

i have the item bit done all i need is how to make the corpse explode and damage nearby units 1 damage
08-11-2003, 01:30 AM#7
badomen
Can anyonene help out? please
08-11-2003, 08:16 AM#8
Krakou
Use the trigger Unit - Explode Unit.

For the damages try this: (pseudo code)

Pick every unit in range 500 of exploding unit and do add -1 to life of picked unit.
08-11-2003, 09:05 PM#9
Stold
u no what would be cool if u modded the sceltiton slightly to make him a giant ya do that heheheheeheheh
08-11-2003, 09:05 PM#10
Stold
u no what would be cool if u modded the sceltiton slightly to make him a giant ya do that heheheheeheheh
08-11-2003, 09:07 PM#11
Stold
u no what would be cool if u modded the sceltiton slightly to make him a giant ya do that heheheheeheheh:gsmile:
08-11-2003, 09:08 PM#12
Stold
u no what would be cool if u modded the sceltiton slightly to make him a giant ya do that heheheheeheheh:gsmile: :ggani:
08-11-2003, 09:09 PM#13
Stold
im sorry for 4 time thingy i didnt know it posted i sry