ZoneCapture Trigger: Difference between revisions

From Ashes of the Singularity - Official Wiki
Jump to navigation Jump to search
No edit summary
m (Updated look.)
 
Line 1: Line 1:
[[Category:Triggers]]
{{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 ==


{{SectionTemplate
|h=h3
|title=Limitations
|content=}}
*The coordinates are pretty sensitive; you need to get them right on top of the Relay or Generator  
*The coordinates are pretty sensitive; you need to get them right on top of the Relay or Generator  


== Common Usage ==


{{SectionTemplate
|h=h3
|title=Common Usage
|content=}}
*Victory conditions - note that a Nexus region is captured by whomever destroys the Nexus in it  
*Victory conditions - note that a Nexus region is captured by whomever destroys the Nexus in it  
*Capture-and-hold mechanics  
*Capture-and-hold mechanics  


== Examples ==


{{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 26: Line 41:


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.