ZoneCapture Trigger: Difference between revisions
Jump to navigation
Jump to search
(Created page with " A '''ZoneCapture Trigger''' fires when a region is captured. ==Arguments== *'''Owner''' - Player who must capture this region to fire the trigger. *'''Position''' - Map coo...") |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Triggers]] | |||
A '''ZoneCapture Trigger''' fires when a region is captured. | |||
== Arguments == | |||
*'''Owner''' - Player who must capture this region to fire the trigger. | *'''Owner''' - Player who must capture this region to fire the trigger. | ||
*'''Position''' - Map coordinates of the generator/Nexus. | *'''Position''' - Map coordinates of the generator/Nexus. | ||
==Limitations== | == Limitations == | ||
*The coordinates are pretty sensitive; you need to get them right on top of the Relay or Generator | |||
* | |||
==Examples== | == Common Usage == | ||
*Victory conditions - note that a Nexus region is captured by whomever destroys the Nexus in it | |||
*Capture-and-hold mechanics | |||
== Examples == | |||
<Trigger Name="LossSpeech" Type="ZoneCapture" Owner="1" Position="8500,9200" Inactive="0" > | <Trigger Name="LossSpeech" Type="ZoneCapture" Owner="1" Position="8500,9200" Inactive="0" > | ||
Line 21: | Line 24: | ||
<ActivateTrigger Target="Loss" /> | <ActivateTrigger Target="Loss" /> | ||
</Trigger> | </Trigger> | ||
This plays some dialog and activates a short timer trigger that does the actual mission failure if the enemy destroys the player's Nexus. | This plays some dialog and activates a short timer trigger that does the actual mission failure if the enemy destroys the player's Nexus. |
Revision as of 20:22, 18 January 2017
A ZoneCapture Trigger fires when a region is captured.
Arguments
- Owner - Player who must capture this region to fire the trigger.
- Position - Map coordinates of the generator/Nexus.
Limitations
- The coordinates are pretty sensitive; you need to get them right on top of the Relay or Generator
Common Usage
- Victory conditions - note that a Nexus region is captured by whomever destroys the Nexus in it
- Capture-and-hold mechanics
Examples
<Trigger Name="LossSpeech" Type="ZoneCapture" Owner="1" Position="8500,9200" Inactive="0" > <Dialog> <Entry Icon="Haalee" Text="TurtleWars_Loss_1" /> </Dialog> <ActivateTrigger Target="Loss" /> </Trigger>
This plays some dialog and activates a short timer trigger that does the actual mission failure if the enemy destroys the player's Nexus.