- Joined
- Apr 16, 2025
- Messages
- 160
How to access the selected unit via custom script?
I really have no idea where to find this information. I would be grateful if you could help a fool.
Here is a trigger to call the damage text, but instead of "udg_DamageEventTarget" I need to access the selected unit.
call ArcingTextTag.createEx(udg_DmgStr, udg_DamageEventTarget, udg_DmgDuration, udg_DmgSize, GetLocalPlayer())
We are talking about Selecting units within a small area
I really have no idea where to find this information. I would be grateful if you could help a fool.
Here is a trigger to call the damage text, but instead of "udg_DamageEventTarget" I need to access the selected unit.
call ArcingTextTag.createEx(udg_DmgStr, udg_DamageEventTarget, udg_DmgDuration, udg_DmgSize, GetLocalPlayer())
We are talking about Selecting units within a small area


