[Trigger] Unit Enters area (damage)

Status
Not open for further replies.
Do you mean only if unit is in this region? If yes, you can create a UnitGroup variable "DamageGroup" and try ...

Event
A unit enters YourRegion
Condition
TriggeringUnit == Hero Equals True (if needed)
Action
Add TriggeringUnit to DamageGroup

DamageTrigger:
Event
Every 0.1 seconds
Action
Pick every unit in DamageGroup and decrease life by X
___________

Also you would need to create a trigger which removed the unit of DamageGroup if it leaves YourRegion.
 
Status
Not open for further replies.
Back
Top