ZoneCapture Trigger: Difference between revisions

From Ashes of the Singularity - Official Wiki
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...")
 
m (Updated look.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}


{{HeaderTemplate
|welcome=ZoneCapture Trigger
}}
A '''ZoneCapture Trigger''' fires when a region is captured.
A '''ZoneCapture Trigger''' fires when a region is captured.


==Arguments==
{{SectionTemplate
|h=h3
|title=Arguments
|content=}}
*'''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==
*The coordinates are pretty sensitive; you need to get them right on top of the Relay or Generator


==Common Usage==
{{SectionTemplate
*Victory conditions - note that a Nexus region is captured by whomever destroys the Nexus in it
|h=h3
*Capture-and-hold mechanics
|title=Limitations
|content=}}
*The coordinates are pretty sensitive; you need to get them right on top of the Relay or Generator


==Examples==


{{SectionTemplate
|h=h3
|title=Common Usage
|content=}}
*Victory conditions - note that a Nexus region is captured by whomever destroys the Nexus in it
*Capture-and-hold mechanics
{{SectionTemplate
|h=h3
|title=Examples
|content=}}
   <Trigger Name="LossSpeech" Type="ZoneCapture" Owner="1" Position="8500,9200" Inactive="0" >
   <Trigger Name="LossSpeech" Type="ZoneCapture" Owner="1" Position="8500,9200" Inactive="0" >
     <Dialog>
     <Dialog>
Line 21: Line 39:
     <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.
[[Category:Triggers]]

Latest revision as of 16:56, 24 November 2020


ZoneCapture Trigger

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.