NamedCreate Trigger

From Ashes of the Singularity - Official Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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.