HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Very Hard Trigger

07-14-2002, 11:10 AM#1
badomen
Ok i want it so when a player entering region "xxx" with
"orb" item or "cloak" item or both
it replenishes them so they have 10 charges again and it costs 1500 gold

how is this done?

so far i got

cond:player enters region xxx

thats it someone help!

p.s. i dont care if it removes the orb and cloak and replaces them with new ones but i dont want them to appear on the ground beside the hero which is all i can seem to do

thanks
07-14-2002, 11:23 AM#2
Guest
your event is the unit entering the region
your conditions are...

1)unit being a hero
2)unit carrying the orb
3)unit carrying the cloak

your actions are the healing and taking of the gold
07-14-2002, 11:26 AM#3
badomen
first off what the hell is that face doing in my post lol dont know how that happend

second healing and money????
i want the items to replenish not players health
07-14-2002, 11:41 AM#4
3DGuy
Ok, I think what you wanted is like this:

Events: Unit - a unit enters <Item Replenish Area>

Conditions: ((Entering unit has an item of type (Scroll of Healing) Equal to True

Actions: Hero - Create Scroll of Healing and give it to (Entering Unit)
Player - Add -1500 to ((Owner of Entering unit))

I hope that solves your problem
07-14-2002, 12:04 PM#5
badomen
thanks 3dguy got it now still trying to find how to take money from people
07-14-2002, 12:06 PM#6
badomen
wouldnt a condition have to be player entering region has 1500+ gold???

how do i do that i cant find anything on gold ammounts!
07-14-2002, 12:10 PM#7
3DGuy
I forgot sorry :) just add it then
07-14-2002, 12:16 PM#8
badomen
how!!!!1
i can find it??
is it a boolean comparison or what?
07-14-2002, 12:41 PM#9
3DGuy
Integer Comparison - Player Property