Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Events/Unit Enters-Leaves Point

From SC2Mapster Wiki
Jump to: navigation, search

Unit-Basic

Unit Enters/Leaves Point

GUI

Unit - u state|Enters/Leaves within distance of ,p

Galaxy Code

void TriggerAddEventUnitRangePoint (trigger t,unitref u,point p,fixed distance,bool state)

Description

This event fires when a unit enters or leaves a certain distance around a point. Use "Triggering Unit" to get the unit.

Parameters