• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

need help in region and doodads

Status
Not open for further replies.
Level 3
Joined
Feb 9, 2010
Messages
36
hi guys i'm just wondering if anyone can help me in any of the following:

1. regen hp of any lvl 10 below heroes in a certain region.
2. enable heroes to walk on doodads like walk in roofs of a building.
3. disable skill and item use in a certain region.

advance thanks for those who can help and for those who viewed :)
actually i have many things want to ask for help :p but i'll try to search for it first :)
 
Level 10
Joined
Dec 26, 2009
Messages
823
Try these:

EVENTS
A unit enters HealRegion (the region in question)
CONDITIONS:
Unit is a hero equal to true (Boolean comparison)
Level of hero equal to 10
ACTIONS
Set life of triggering unit to max life of triggering unit

To make doodads walkable, you can do one of tweo things.
If you want the unit to walk THROUGH a doodad, set the pathing map to one of the circles of power (preferably the smallest one; if you need to place multiple doodads on top of each other hold down the shift key while placing them).
If you want the unit to walk ON them, base the doodad off the elevator doodad. The unit will walk on top of it instead of through it.

Disable skill:
EVENTS
A unit enters DisableHolyLightSpell (the region you want to disable the use of a spell)
CONDITIONS
None
ACTIONS
Remove ability Holy Light from triggering unit

combined with
EVENTS
A unit leaves RemoveHolyLightSpell
CONDITIONS
None
ACTIONS
Give ability Holy Light to triggering unit

That should do it.
 
Level 3
Joined
Feb 9, 2010
Messages
36
tnx alot for helping i tried elevator tough but i dont think its the one im looking for or i just dont know how XD well what im trying to do is to make a hero can walk on the top of the house but you cant just run on it and go into the top you can only go to it by using blink or any teleport skill and i cant use the terrain this time coz some part of the house is transparent :) i'll try those events later need to sleep now XD
 
Last edited:
Level 3
Joined
Feb 9, 2010
Messages
36
tnx for trying tough :) i'll try to figure it out somehow heheh im not used to editing yet but i already have the idea of the outcome of it :D hope i can do them all
 
Status
Not open for further replies.
Top