NamedCreate Trigger

From Ashes of the Singularity - Official Wiki
Revision as of 16:09, 24 November 2020 by JYWLuca8269 (talk | contribs) (Updated look.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


NamedCreate Trigger


NamedCreate triggers fire when a specific unit or building is spawned via a script.

Arguments

  • Target - Name of the script-spawned unit or building.
  • IsBuilding - If this is a building (if not it refers to a unit).


Common Usage

These triggers have largely fallen by the wayside in favor of better options (activating inactive Timer triggers, primarily)


Examples

 <Trigger Name="MoveBrainWhale0" Type="NamedCreate" Target="BrainWhale" >
   <AttackAttackMove Name="BrainWhale" Position="6464,-3048,0"/>
 </Trigger>

From the Deneb mission in Imminent Crisis, this tells the brainwhale to move as soon as it is spawned.