-- $Id: //depot/Projects/StarWars/Run/Data/Scripts/Interventions/Intervention_Show_of_Strength.lua#1 $ --///////////////////////////////////////////////////////////////////////////////////////////////// -- -- (C) Petroglyph Games, Inc. -- -- -- ***** ** * * -- * ** * * * -- * * * * * -- * * * * * * * * -- * * *** ****** * ** **** *** * * * ***** * *** -- * ** * * * ** * ** ** * * * * ** ** ** * -- *** ***** * * * * * * * * ** * * * * -- * * * * * * * * * * * * * * * -- * * * * * * * * * * ** * * * * -- * ** * * ** * ** * * ** * * * * -- ** **** ** * **** ***** * ** *** * * -- * * * -- * * * -- * * * -- * * * * -- **** * * -- --///////////////////////////////////////////////////////////////////////////////////////////////// -- C O N F I D E N T I A L S O U R C E C O D E -- D O N O T D I S T R I B U T E --///////////////////////////////////////////////////////////////////////////////////////////////// -- -- $File: //depot/Projects/StarWars/Run/Data/Scripts/Interventions/Intervention_Show_of_Strength.lua $ -- -- Original Author: James Yarrow -- -- $Author: Dan_Etter $ -- -- $Change: 25292 $ -- -- $DateTime: 2005/08/30 09:04:16 $ -- -- $Revision: #1 $ -- --///////////////////////////////////////////////////////////////////////////////////////////////// require("pginterventions") require("pgspawnunits") function Declare_Goal_Type() Category = "Intervention_Show_of_Strength" end function Intervention_Thread() Begin_Intervention() plot = Get_Story_Plot("Intervention_Show_of_Strength.xml") event = plot.Get_Event("Show_of_Strength_00") event.Clear_Dialog_Text() event.Add_Dialog_Text("TEXT_INTERVENTION_FACTION_SWITCH", Target) event = plot.Get_Event("Show_of_Strength_01") event.Set_Reward_Parameter(0, Target) event.Clear_Dialog_Text() event.Add_Dialog_Text("TEXT_INTERVENTION_FACTION_SWITCH_COMPLETE", Target) plot.Activate() Wait_On_Flag("SHOW_OF_STRENGTH_NOTIFICATION_00", nil) plot.Suspend() plot.Reset() End_Intervention() end