# Unit Enters/Leaves Region
Grammar — u state|Enters/Leaves r
Flags —Native
|Event
This event fires when a unit enters or leaves a region. Use “Triggering Player” to get the player that was controlling the unit. Use “Triggering Region” to get the region that the unit either entered or left. Use “Triggering Unit” to get the unit.
# Arguments
unitref
<unit> — Unitregion
— Regionbool
<preset::RegionEnterLeaveState> — State
Returns — void
native void TriggerAddEventUnitRegion(
trigger t,
unitref u,
region r,
bool state,
);
# Event parameters
- Triggering Game User — EventGameUser
- Triggering Player — EventPlayer
- Triggering Region — EventUnitRegion
- Triggering Unit — EventUnit
# Related
Category: Unit / Basic
- Unit Show Kill Display —
void
— UnitShowKillDisplay - Unit Can Path To Point —
bool
— UnitPathableToPoint - Unit Can Path To Unit —
bool
— UnitPathableToUnit - Create Units With Default Facing —
void
— libNtve_gf_CreateUnitsWithDefaultFacing - Create Units With Point Facing —
void
— libNtve_gf_CreateUnitsAtPoint2 - Create Units Facing Angle —
unitgroup
— UnitCreate - Create Units Facing Point —
unitgroup
— libNtve_gf_UnitCreateFacingPoint - Last Created Unit —
unit
— UnitLastCreated - Last Created Units —
unitgroup
— UnitLastCreatedGroup - Original Caster Of Unit —
unit
— UnitGetOriginalCaster - Effect That Created Unit —
string
<gamelink::Effect> — UnitGetOriginalEffect - Replace Unit —
void
— libNtve_gf_ReplaceUnit - Last Replaced Unit —
unit
— libNtve_gf_LastReplacedUnit - Change Owner —
void
— UnitSetOwner - Unit Owner Changes —
void
— TriggerAddEventUnitChangeOwner - Old Unit Owner —
int
— EventUnitOwnerOld - New Unit Owner —
int
— EventUnitOwnerNew - Rescue Unit —
void
— libNtve_gf_RescueUnit - Rescue Unit Group —
void
— libNtve_gf_RescueUnit2 - Kill Unit —
void
— UnitKill - Revive Unit —
void
— UnitRevive - Remove Unit —
void
— UnitRemove - Owner Of Unit —
int
— UnitGetOwner - Unit Is Alive —
bool
— UnitIsAlive - Unit Is Valid —
bool
— UnitIsValid - Unit Group Is Dead —
bool
— libNtve_gf_UnitGroupIsDead - Move Unit Instantly —
void
— UnitSetPosition - Make Unit Face Angle —
void
— UnitSetFacing - Make Unit Face Point —
void
— libNtve_gf_MakeUnitFacePoint - Position Of Unit —
point
— UnitGetPosition - Goal Position Of Unit —
point
— UnitGetGoalPosition - Facing Angle Of Unit —
fixed
— UnitGetFacing - Pause/Unpause Unit —
void
— libNtve_gf_PauseUnit - Pause/Unpause All Units —
void
— UnitPauseAll - Sleep/WakeUp Unit —
void
— libNtve_gf_SleepUnit - Show/Hide Unit —
void
— libNtve_gf_ShowHideUnit - Share Vision of Unit —
void
— libNtve_gf_ShareVisionofUnit - Unit Is Paused —
bool
— libNtve_gf_UnitIsPaused - Unit Is Sleepiing —
bool
— libNtve_gf_UnitIsSleepiing - Unit Is Hidden —
bool
— libNtve_gf_UnitIsHidden - Unit Is Visible To Player —
bool
— libNtve_gf_UnitIsVisibleToPlayer - Set Unit Custom Value —
void
— UnitSetCustomValue - Custom Value Of Unit —
fixed
— UnitGetCustomValue - Unit Enters/Leaves Region —
void
— TriggerAddEventUnitRegion - Triggering Region —
region
— EventUnitRegion - Unit Enters/Leaves Point —
void
— TriggerAddEventUnitRangePoint - Unit Enters/Leaves Range Of Unit —
void
— TriggerAddEventUnitRange - Triggering Range Unit —
unit
— EventUnitRangeUnit - Unit In Region —
bool
— libNtve_gf_UnitInRegion - Triggering Unit —
unit
— EventUnit - Load Unit Model —
void
— UnitLoadModel - Unload Unit Model —
void
— UnitUnloadModel - Agent Of Player For Unit —
unit
— UnitAgent - Change Empty Unit Variables In Events —
void
— UnitEventSetNullVariableInvalid - Name of Unit —
text
— UnitGetName - Ideal Harvester Count —
int
— UnitIdealWorkerCount - Current Harvester Count —
int
— UnitCurrentWorkerCount
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4957
gt_Level1BossInterceptorSpawned = TriggerCreate("gt_Level1BossInterceptorSpawned_Func");
TriggerEnable(gt_Level1BossInterceptorSpawned, false);
TriggerAddEventUnitRegion(gt_Level1BossInterceptorSpawned, null, RegionEntireMap(), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5971
gt_TerraTronSawSpawned = TriggerCreate("gt_TerraTronSawSpawned_Func");
TriggerEnable(gt_TerraTronSawSpawned, false);
TriggerAddEventUnitRegion(gt_TerraTronSawSpawned, null, RegionEntireMap(), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1118
void gt_RemoveDropships_Init () {
gt_RemoveDropships = TriggerCreate("gt_RemoveDropships_Func");
TriggerAddEventUnitRegion(gt_RemoveDropships, UnitRefFromUnit(UnitFromId(290)), RegionFromId(31), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1346
void gt_Zerg2_Init () {
gt_Zerg2 = TriggerCreate("gt_Zerg2_Func");
TriggerAddEventUnitRegion(gt_Zerg2, null, RegionFromId(32), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1534
void gt_SwitchtoEscortPhase_Init () {
gt_SwitchtoEscortPhase = TriggerCreate("gt_SwitchtoEscortPhase_Func");
TriggerAddEventUnitRegion(gt_SwitchtoEscortPhase, null, RegionFromId(29), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1872
void gt_TIPZergCreep_Init () {
gt_TIPZergCreep = TriggerCreate("gt_TIPZergCreep_Func");
TriggerAddEventUnitRegion(gt_TIPZergCreep, null, RegionFromId(51), true);
TriggerAddEventUnitRegion(gt_TIPZergCreep, null, RegionFromId(41), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1873
gt_TIPZergCreep = TriggerCreate("gt_TIPZergCreep_Func");
TriggerAddEventUnitRegion(gt_TIPZergCreep, null, RegionFromId(51), true);
TriggerAddEventUnitRegion(gt_TIPZergCreep, null, RegionFromId(41), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2579
void gt_AddConvoyMarineintoUnitGroup_Init () {
gt_AddConvoyMarineintoUnitGroup = TriggerCreate("gt_AddConvoyMarineintoUnitGroup_Func");
TriggerAddEventUnitRegion(gt_AddConvoyMarineintoUnitGroup, null, RegionFromId(15), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2740
void gt_BunkerGet1_Init () {
gt_BunkerGet1 = TriggerCreate("gt_BunkerGet1_Func");
TriggerAddEventUnitRegion(gt_BunkerGet1, null, RegionFromId(27), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2772
void gt_BunkerGet2_Init () {
gt_BunkerGet2 = TriggerCreate("gt_BunkerGet2_Func");
TriggerAddEventUnitRegion(gt_BunkerGet2, null, RegionFromId(28), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2855
void gt_ChrysalisTipTriggerA_Init () {
gt_ChrysalisTipTriggerA = TriggerCreate("gt_ChrysalisTipTriggerA_Func");
TriggerAddEventUnitRegion(gt_ChrysalisTipTriggerA, null, RegionFromId(23), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2893
void gt_ChrysalisTipTriggerB_Init () {
gt_ChrysalisTipTriggerB = TriggerCreate("gt_ChrysalisTipTriggerB_Func");
TriggerAddEventUnitRegion(gt_ChrysalisTipTriggerB, null, RegionFromId(24), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2354
void gt_AreaRevealers_Init () {
gt_AreaRevealers = TriggerCreate("gt_AreaRevealers_Func");
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(9), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(10), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(28), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2355
gt_AreaRevealers = TriggerCreate("gt_AreaRevealers_Func");
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(9), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(10), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(28), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(11), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2356
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(9), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(10), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(28), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(11), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(12), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2357
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(10), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(28), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(11), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(12), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(39), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2358
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(28), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(11), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(12), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(39), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(1), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2359
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(11), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(12), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(39), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(1), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(22), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2360
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(12), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(39), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(1), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(22), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(13), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2361
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(39), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(1), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(22), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(13), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(21), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2362
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(1), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(22), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(13), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(21), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(43), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2363
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(22), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(13), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(21), true);
TriggerAddEventUnitRegion(gt_AreaRevealers, null, RegionFromId(43), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1338
void gt_EradicationPointAlpha_Init () {
gt_EradicationPointAlpha = TriggerCreate("gt_EradicationPointAlpha_Func");
TriggerAddEventUnitRegion(gt_EradicationPointAlpha, null, RegionFromId(13), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1448
void gt_EradicationPointBeta_Init () {
gt_EradicationPointBeta = TriggerCreate("gt_EradicationPointBeta_Func");
TriggerAddEventUnitRegion(gt_EradicationPointBeta, null, RegionFromId(15), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1562
void gt_EradicationPointGamma_Init () {
gt_EradicationPointGamma = TriggerCreate("gt_EradicationPointGamma_Func");
TriggerAddEventUnitRegion(gt_EradicationPointGamma, null, RegionFromId(16), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1676
void gt_EradicationPointOmega_Init () {
gt_EradicationPointOmega = TriggerCreate("gt_EradicationPointOmega_Func");
TriggerAddEventUnitRegion(gt_EradicationPointOmega, null, RegionFromId(17), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1767
void gt_EradicatePlayersBase_Init () {
gt_EradicatePlayersBase = TriggerCreate("gt_EradicatePlayersBase_Func");
TriggerAddEventUnitRegion(gt_EradicatePlayersBase, null, RegionFromId(22), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2353
gt_TerrorFleetBetaBaseBehavior = TriggerCreate("gt_TerrorFleetBetaBaseBehavior_Func");
TriggerEnable(gt_TerrorFleetBetaBaseBehavior, false);
TriggerAddEventUnitRegion(gt_TerrorFleetBetaBaseBehavior, null, RegionFromId(11), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2417
gt_TerrorFleetGammaBaseBehavior = TriggerCreate("gt_TerrorFleetGammaBaseBehavior_Func");
TriggerEnable(gt_TerrorFleetGammaBaseBehavior, false);
TriggerAddEventUnitRegion(gt_TerrorFleetGammaBaseBehavior, null, RegionFromId(12), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2481
gt_TerrorFleetOmegaBaseBehavior = TriggerCreate("gt_TerrorFleetOmegaBaseBehavior_Func");
TriggerEnable(gt_TerrorFleetOmegaBaseBehavior, false);
TriggerAddEventUnitRegion(gt_TerrorFleetOmegaBaseBehavior, null, RegionFromId(8), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2670
void gt_RemoveTerrorFleets_Init () {
gt_RemoveTerrorFleets = TriggerCreate("gt_RemoveTerrorFleets_Func");
TriggerAddEventUnitRegion(gt_RemoveTerrorFleets, null, RegionFromId(31), true);
TriggerAddEventUnitRegion(gt_RemoveTerrorFleets, null, RegionFromId(32), true);
TriggerAddEventUnitRegion(gt_RemoveTerrorFleets, null, RegionFromId(33), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2671
gt_RemoveTerrorFleets = TriggerCreate("gt_RemoveTerrorFleets_Func");
TriggerAddEventUnitRegion(gt_RemoveTerrorFleets, null, RegionFromId(31), true);
TriggerAddEventUnitRegion(gt_RemoveTerrorFleets, null, RegionFromId(32), true);
TriggerAddEventUnitRegion(gt_RemoveTerrorFleets, null, RegionFromId(33), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2468
gt_ColonistLoad = TriggerCreate("gt_ColonistLoad_Func");
TriggerEnable(gt_ColonistLoad, false);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(10), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(9), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(13), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2469
TriggerEnable(gt_ColonistLoad, false);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(10), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(9), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(13), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(8), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2470
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(10), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(9), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(13), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(8), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(3), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2471
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(9), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(13), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(8), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(3), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(7), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2472
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(13), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(8), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(3), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(7), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2473
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(8), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(3), true);
TriggerAddEventUnitRegion(gt_ColonistLoad, null, RegionFromId(7), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2454
void gt_TrainDespawn_Init () {
gt_TrainDespawn = TriggerCreate("gt_TrainDespawn_Func");
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(491), 1.0), true);
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(502), 1.0), true);
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(297), 1.0), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2455
gt_TrainDespawn = TriggerCreate("gt_TrainDespawn_Func");
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(491), 1.0), true);
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(502), 1.0), true);
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(297), 1.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2456
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(491), 1.0), true);
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(502), 1.0), true);
TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(297), 1.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2581
void gt_EscortDespawn_Init () {
gt_EscortDespawn = TriggerCreate("gt_EscortDespawn_Func");
TriggerAddEventUnitRegion(gt_EscortDespawn, null, RegionFromId(2), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3167
void gt_TrainDespawnAnimationsTop_Init () {
gt_TrainDespawnAnimationsTop = TriggerCreate("gt_TrainDespawnAnimationsTop_Func");
TriggerAddEventUnitRegion(gt_TrainDespawnAnimationsTop, null, RegionCircle(PointFromId(491), 16.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3200
void gt_TrainDespawnAnimationsMid_Init () {
gt_TrainDespawnAnimationsMid = TriggerCreate("gt_TrainDespawnAnimationsMid_Func");
TriggerAddEventUnitRegion(gt_TrainDespawnAnimationsMid, null, RegionCircle(PointFromId(502), 16.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3233
void gt_TrainDespawnAnimationsBottom_Init () {
gt_TrainDespawnAnimationsBottom = TriggerCreate("gt_TrainDespawnAnimationsBottom_Func");
TriggerAddEventUnitRegion(gt_TrainDespawnAnimationsBottom, null, RegionCircle(PointFromId(297), 16.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1176
void gt_ChangeOwnerofDropshipUnits_Init () {
gt_ChangeOwnerofDropshipUnits = TriggerCreate("gt_ChangeOwnerofDropshipUnits_Func");
TriggerAddEventUnitRegion(gt_ChangeOwnerofDropshipUnits, null, RegionFromId(4), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1600
void gt_ChangeOwnerofVultureDropshipUnits_Init () {
gt_ChangeOwnerofVultureDropshipUnits = TriggerCreate("gt_ChangeOwnerofVultureDropshipUnits_Func");
TriggerAddEventUnitRegion(gt_ChangeOwnerofVultureDropshipUnits, null, RegionFromId(4), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1917
void gt_JunkerNEPitstop1_Init () {
gt_JunkerNEPitstop1 = TriggerCreate("gt_JunkerNEPitstop1_Func");
TriggerAddEventUnitRegion(gt_JunkerNEPitstop1, null, RegionFromId(32), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1964
void gt_JunkerNEPitstop2_Init () {
gt_JunkerNEPitstop2 = TriggerCreate("gt_JunkerNEPitstop2_Func");
TriggerAddEventUnitRegion(gt_JunkerNEPitstop2, null, RegionFromId(33), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2009
void gt_JunkerNEPitstop3_Init () {
gt_JunkerNEPitstop3 = TriggerCreate("gt_JunkerNEPitstop3_Func");
TriggerAddEventUnitRegion(gt_JunkerNEPitstop3, null, RegionFromId(34), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2040
void gt_JunkerNEDespawn_Init () {
gt_JunkerNEDespawn = TriggerCreate("gt_JunkerNEDespawn_Func");
TriggerAddEventUnitRegion(gt_JunkerNEDespawn, null, RegionFromId(31), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2123
void gt_JunkerSPitstop1_Init () {
gt_JunkerSPitstop1 = TriggerCreate("gt_JunkerSPitstop1_Func");
TriggerAddEventUnitRegion(gt_JunkerSPitstop1, null, RegionFromId(36), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2170
void gt_JunkerSPitstop2_Init () {
gt_JunkerSPitstop2 = TriggerCreate("gt_JunkerSPitstop2_Func");
TriggerAddEventUnitRegion(gt_JunkerSPitstop2, null, RegionFromId(37), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2201
void gt_JunkerSDespawn_Init () {
gt_JunkerSDespawn = TriggerCreate("gt_JunkerSDespawn_Func");
TriggerAddEventUnitRegion(gt_JunkerSDespawn, null, RegionFromId(35), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2281
void gt_JunkerWPitstop1_Init () {
gt_JunkerWPitstop1 = TriggerCreate("gt_JunkerWPitstop1_Func");
TriggerAddEventUnitRegion(gt_JunkerWPitstop1, null, RegionFromId(38), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:913
void gt_WarehouseBullies2_Init () {
gt_WarehouseBullies2 = TriggerCreate("gt_WarehouseBullies2_Func");
TriggerAddEventUnitRegion(gt_WarehouseBullies2, null, RegionFromId(17), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1193
void gt_VictoryWarehouseDudesKilled_Init () {
gt_VictoryWarehouseDudesKilled = TriggerCreate("gt_VictoryWarehouseDudesKilled_Func");
TriggerAddEventUnitRegion(gt_VictoryWarehouseDudesKilled, null, RegionFromId(24), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1842
void gt_LokiActivates_Init () {
gt_LokiActivates = TriggerCreate("gt_LokiActivates_Func");
TriggerAddEventUnitRegion(gt_LokiActivates, null, RegionFromId(23), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2044
void gt_OdinApproachesP04Base_Init () {
gt_OdinApproachesP04Base = TriggerCreate("gt_OdinApproachesP04Base_Func");
TriggerAddEventUnitRegion(gt_OdinApproachesP04Base, UnitRefFromUnit(UnitFromId(2)), RegionFromId(21), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2283
void gt_OdinApproachesP08Base_Init () {
gt_OdinApproachesP08Base = TriggerCreate("gt_OdinApproachesP08Base_Func");
TriggerAddEventUnitRegion(gt_OdinApproachesP08Base, UnitRefFromUnit(UnitFromId(2)), RegionFromId(28), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2543
void gt_OdinApproachesP05Base_Init () {
gt_OdinApproachesP05Base = TriggerCreate("gt_OdinApproachesP05Base_Func");
TriggerAddEventUnitRegion(gt_OdinApproachesP05Base, UnitRefFromUnit(UnitFromId(2)), RegionFromId(6), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2788
void gt_OdinApproachesP06Base_Init () {
gt_OdinApproachesP06Base = TriggerCreate("gt_OdinApproachesP06Base_Func");
TriggerAddEventUnitRegion(gt_OdinApproachesP06Base, UnitRefFromUnit(UnitFromId(2)), RegionFromId(11), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3064
void gt_OdinApproachesP07Base_Init () {
gt_OdinApproachesP07Base = TriggerCreate("gt_OdinApproachesP07Base_Func");
TriggerAddEventUnitRegion(gt_OdinApproachesP07Base, UnitRefFromUnit(UnitFromId(2)), RegionFromId(12), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3154
void gt_BattlecruisersYamatoOdin_Init () {
gt_BattlecruisersYamatoOdin = TriggerCreate("gt_BattlecruisersYamatoOdin_Func");
TriggerAddEventUnitRegion(gt_BattlecruisersYamatoOdin, UnitRefFromUnit(UnitFromId(2)), RegionFromId(10), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1956
void gt_CityAmbienceNorthSpawnVehicleRemoval_Init () {
gt_CityAmbienceNorthSpawnVehicleRemoval = TriggerCreate("gt_CityAmbienceNorthSpawnVehicleRemoval_Func");
TriggerAddEventUnitRegion(gt_CityAmbienceNorthSpawnVehicleRemoval, null, RegionFromId(14), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1988
void gt_CityAmbienceSESpawnVehicleRemoval_Init () {
gt_CityAmbienceSESpawnVehicleRemoval = TriggerCreate("gt_CityAmbienceSESpawnVehicleRemoval_Func");
TriggerAddEventUnitRegion(gt_CityAmbienceSESpawnVehicleRemoval, null, RegionFromId(15), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2020
void gt_CityAmbienceSWSpawnVehicleRemoval_Init () {
gt_CityAmbienceSWSpawnVehicleRemoval = TriggerCreate("gt_CityAmbienceSWSpawnVehicleRemoval_Func");
TriggerAddEventUnitRegion(gt_CityAmbienceSWSpawnVehicleRemoval, null, RegionFromId(20), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2051
void gt_CityAmbienceWestBlimpRemoval_Init () {
gt_CityAmbienceWestBlimpRemoval = TriggerCreate("gt_CityAmbienceWestBlimpRemoval_Func");
TriggerAddEventUnitRegion(gt_CityAmbienceWestBlimpRemoval, null, RegionFromId(1), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2082
void gt_CityAmbienceEastBlimpRemoval_Init () {
gt_CityAmbienceEastBlimpRemoval = TriggerCreate("gt_CityAmbienceEastBlimpRemoval_Func");
TriggerAddEventUnitRegion(gt_CityAmbienceEastBlimpRemoval, null, RegionFromId(2), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2954
void gt_Statue1_Init () {
gt_Statue1 = TriggerCreate("gt_Statue1_Func");
TriggerAddEventUnitRegion(gt_Statue1, null, RegionFromId(16), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3005
void gt_Statue2_Init () {
gt_Statue2 = TriggerCreate("gt_Statue2_Func");
TriggerAddEventUnitRegion(gt_Statue2, null, RegionFromId(23), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3056
void gt_Statue3_Init () {
gt_Statue3 = TriggerCreate("gt_Statue3_Func");
TriggerAddEventUnitRegion(gt_Statue3, null, RegionFromId(19), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3107
void gt_Statue4_Init () {
gt_Statue4 = TriggerCreate("gt_Statue4_Func");
TriggerAddEventUnitRegion(gt_Statue4, null, RegionFromId(21), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3158
void gt_Statue5_Init () {
gt_Statue5 = TriggerCreate("gt_Statue5_Func");
TriggerAddEventUnitRegion(gt_Statue5, null, RegionFromId(24), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2278
void gt_AlertTeamResponseAttack_Init () {
gt_AlertTeamResponseAttack = TriggerCreate("gt_AlertTeamResponseAttack_Func");
TriggerAddEventUnitRegion(gt_AlertTeamResponseAttack, null, RegionFromId(30), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2307
void gt_HybridAreaLastRoom_Init () {
gt_HybridAreaLastRoom = TriggerCreate("gt_HybridAreaLastRoom_Func");
TriggerAddEventUnitRegion(gt_HybridAreaLastRoom, null, RegionFromId(25), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2340
void gt_ShutDoor01_Init () {
gt_ShutDoor01 = TriggerCreate("gt_ShutDoor01_Func");
TriggerAddEventUnitRegion(gt_ShutDoor01, null, RegionFromId(71), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2374
void gt_ShutDoor02_Init () {
gt_ShutDoor02 = TriggerCreate("gt_ShutDoor02_Func");
TriggerAddEventUnitRegion(gt_ShutDoor02, null, RegionFromId(66), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2402
void gt_Stasis01_Init () {
gt_Stasis01 = TriggerCreate("gt_Stasis01_Func");
TriggerAddEventUnitRegion(gt_Stasis01, null, RegionFromId(133), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2430
void gt_Stasis02_Init () {
gt_Stasis02 = TriggerCreate("gt_Stasis02_Func");
TriggerAddEventUnitRegion(gt_Stasis02, null, RegionFromId(137), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2458
void gt_Stasis03_Init () {
gt_Stasis03 = TriggerCreate("gt_Stasis03_Func");
TriggerAddEventUnitRegion(gt_Stasis03, null, RegionFromId(138), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2486
void gt_Stasis04_Init () {
gt_Stasis04 = TriggerCreate("gt_Stasis04_Func");
TriggerAddEventUnitRegion(gt_Stasis04, null, RegionFromId(144), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2514
void gt_Stasis05_Init () {
gt_Stasis05 = TriggerCreate("gt_Stasis05_Func");
TriggerAddEventUnitRegion(gt_Stasis05, null, RegionFromId(145), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3590
void gt_Computer01TurretGunsVisibilityEnter_Init () {
gt_Computer01TurretGunsVisibilityEnter = TriggerCreate("gt_Computer01TurretGunsVisibilityEnter_Func");
TriggerAddEventUnitRegion(gt_Computer01TurretGunsVisibilityEnter, null, RegionFromId(153), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:890
gt_Dogmeatgo = TriggerCreate("gt_Dogmeatgo_Func");
TriggerEnable(gt_Dogmeatgo, false);
TriggerAddEventUnitRegion(gt_Dogmeatgo, null, RegionCircle(PointFromId(632), 3.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:936
gt_GohomeDogmeat = TriggerCreate("gt_GohomeDogmeat_Func");
TriggerEnable(gt_GohomeDogmeat, false);
TriggerAddEventUnitRegion(gt_GohomeDogmeat, null, RegionCircle(PointFromId(672), 3.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1094
void gt_RoadblockView_Init () {
gt_RoadblockView = TriggerCreate("gt_RoadblockView_Func");
TriggerAddEventUnitRegion(gt_RoadblockView, null, RegionFromId(64), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1157
void gt_RoadblockAggroQ_Init () {
gt_RoadblockAggroQ = TriggerCreate("gt_RoadblockAggroQ_Func");
TriggerAddEventUnitRegion(gt_RoadblockAggroQ, null, RegionFromId(52), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1287
void gt_FirstHoloboardencounter_Init () {
gt_FirstHoloboardencounter = TriggerCreate("gt_FirstHoloboardencounter_Func");
TriggerAddEventUnitRegion(gt_FirstHoloboardencounter, null, RegionFromId(13), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1365
void gt_WhereisEveryoneQ_Init () {
gt_WhereisEveryoneQ = TriggerCreate("gt_WhereisEveryoneQ_Func");
TriggerAddEventUnitRegion(gt_WhereisEveryoneQ, null, RegionFromId(8), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1494
void gt_ThisisuglyQ_Init () {
gt_ThisisuglyQ = TriggerCreate("gt_ThisisuglyQ_Func");
TriggerAddEventUnitRegion(gt_ThisisuglyQ, null, RegionFromId(2), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1699
void gt_RiksvilleAutoSave01_Init () {
gt_RiksvilleAutoSave01 = TriggerCreate("gt_RiksvilleAutoSave01_Func");
TriggerAddEventUnitRegion(gt_RiksvilleAutoSave01, null, RegionFromId(61), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1946
void gt_RiksvilleTownSquareVikingRemove_Init () {
gt_RiksvilleTownSquareVikingRemove = TriggerCreate("gt_RiksvilleTownSquareVikingRemove_Func");
TriggerAddEventUnitRegion(gt_RiksvilleTownSquareVikingRemove, null, RegionFromId(37), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2036
void gt_SouthieMarineaggroProximity_Init () {
gt_SouthieMarineaggroProximity = TriggerCreate("gt_SouthieMarineaggroProximity_Func");
TriggerAddEventUnitRegion(gt_SouthieMarineaggroProximity, null, RegionFromId(11), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1183
gt_DropshipRemover = TriggerCreate("gt_DropshipRemover_Func");
TriggerEnable(gt_DropshipRemover, false);
TriggerAddEventUnitRegion(gt_DropshipRemover, null, RegionFromId(31), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1814
void gt_RebelsTriggeredProximity_Init () {
gt_RebelsTriggeredProximity = TriggerCreate("gt_RebelsTriggeredProximity_Func");
TriggerAddEventUnitRegion(gt_RebelsTriggeredProximity, null, RegionFromId(4), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2732
void gt_HellionQ_Init () {
gt_HellionQ = TriggerCreate("gt_HellionQ_Func");
TriggerAddEventUnitRegion(gt_HellionQ, null, RegionFromId(5), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2948
void gt_Despawning_Init () {
gt_Despawning = TriggerCreate("gt_Despawning_Func");
TriggerAddEventUnitRegion(gt_Despawning, null, RegionFromId(9), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3455
void gt_MinerDespawn_Init () {
gt_MinerDespawn = TriggerCreate("gt_MinerDespawn_Func");
TriggerAddEventUnitRegion(gt_MinerDespawn, null, RegionFromId(16), true);
TriggerAddEventUnitRegion(gt_MinerDespawn, null, RegionFromId(14), true);
TriggerAddEventUnitRegion(gt_MinerDespawn, null, RegionFromId(17), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3456
gt_MinerDespawn = TriggerCreate("gt_MinerDespawn_Func");
TriggerAddEventUnitRegion(gt_MinerDespawn, null, RegionFromId(16), true);
TriggerAddEventUnitRegion(gt_MinerDespawn, null, RegionFromId(14), true);
TriggerAddEventUnitRegion(gt_MinerDespawn, null, RegionFromId(17), true);
}