78 lines
2.9 KiB
Lua
78 lines
2.9 KiB
Lua
-- $Id: //depot/Projects/StarWars_Steam/FOC/Run/Data/Scripts/Story/Story_Campaign_Underworld_Exec_Demo_1.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_Steam/FOC/Run/Data/Scripts/Story/Story_Campaign_Underworld_Exec_Demo_1.lua $
|
|
--
|
|
-- Original Author: Dan Etter
|
|
--
|
|
-- $Author: Brian_Hayes $
|
|
--
|
|
-- $Change: 637819 $
|
|
--
|
|
-- $DateTime: 2017/03/22 10:16:16 $
|
|
--
|
|
-- $Revision: #1 $
|
|
--
|
|
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
require("PGStateMachine")
|
|
require("PGStoryMode")
|
|
|
|
--
|
|
-- Definitions -- This function is called once when the script is first created.
|
|
--
|
|
function Definitions()
|
|
|
|
DebugMessage("%s -- In Definitions", tostring(Script))
|
|
|
|
StoryModeEvents =
|
|
{
|
|
Underworld_Exec_Demo_1_Begin = State_Underworld_Exec_Demo_1_Begin
|
|
}
|
|
|
|
underworld_list_0 = {
|
|
"Tyber_Zann_Team",
|
|
"Urai_Fen_Team",
|
|
"IG88_Team",
|
|
"Silri_Team"
|
|
}
|
|
|
|
underworld = Find_Player("Underworld")
|
|
rebel = Find_Player("Rebel")
|
|
empire = Find_Player("Empire")
|
|
|
|
end
|
|
|
|
|
|
function State_Underworld_Exec_Demo_1_Begin(message)
|
|
if message == OnEnter then
|
|
korriban = Find_First_Object("Korriban")
|
|
tyber_fleet_units = SpawnList(underworld_list_0,korriban,underworld,false,false)
|
|
tyber_fleet = Assemble_Fleet(tyber_fleet_units)
|
|
end
|
|
end
|