Initial commit
This commit is contained in:
74
DATA/SCRIPTS/STORY/STORY_CAMPAIGN_UNDERWORLD_EXEC_DEMO.LUA
Normal file
74
DATA/SCRIPTS/STORY/STORY_CAMPAIGN_UNDERWORLD_EXEC_DEMO.LUA
Normal file
@@ -0,0 +1,74 @@
|
||||
-- $Id: //depot/Projects/StarWars_Steam/FOC/Run/Data/Scripts/Story/Story_Campaign_Underworld_Exec_Demo.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.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_Begin = State_Underworld_Exec_Demo_Begin
|
||||
}
|
||||
|
||||
underworld_list_0 = {
|
||||
"Tyber_Zann_Team"
|
||||
}
|
||||
|
||||
underworld = Find_Player("Underworld")
|
||||
rebel = Find_Player("Rebel")
|
||||
empire = Find_Player("Empire")
|
||||
|
||||
end
|
||||
|
||||
|
||||
function State_Underworld_Exec_Demo_Begin(message)
|
||||
if message == OnEnter then
|
||||
bestine = Find_First_Object("Bestine")
|
||||
tyber_fleet_units = SpawnList(underworld_list_0,bestine,underworld,false,false)
|
||||
tyber_fleet = Assemble_Fleet(tyber_fleet_units)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user