Build Trigger
Jump to navigation
Jump to search
Arguments
Common Usage
Examples<Trigger Name="Units" Type="Build" Target="PHC_T1_Light" Center="0,2600,0" Size="400" Inactive="1"> <LetterBox Enable="1" /> <GrantStuff Player="0" Metal="500" /> <Restrict Type="Unit" ID="PHC_T1_Recon" Enable="1" /> <Restrict Type="Unit" ID="PHC_T1_MRM" Enable="1" /> <Dialog> <Entry Icon="Mac" Text="Mission2_T5_1" Audio="audio/campaign/Mission2_Cygnus/Mission2_T5_1.wav"/> </Dialog> <Objective Name="BuildBrutes" SetCheck="1"/> <Objective Name="BuildFactory" Hide="0"/> <Objective Name="BuildEngineer" Hide="0"/> <Objective Name="BuildMetalExtractors" Hide="0"/> <ActivateTrigger Target="MoveToRelay1" /> </Trigger> From an early tutorial mission, this completes some objectives, plays some dialog, and gives new objectives (and activates the trigger that will complete them) when the player builds the Brutes they've been instructed to. |