This page is under construction
Archives/bf1942/Levels/Eagles_Nest.rfa
bf1942/Levels/Eagles_Nest/ObjectiveMode/ObjectiveSpawnerTemplates.con

rem ======== Networkable ============================

NetworkableInfo.createNewInfo ObjectiveInfo
NetworkableInfo.setPredictionMode PMNone
NetworkableInfo.setBasePriority c_NIGhostAlways

rem ================ ObjectiveTemplates =====================
rem // Axis = 1 , Allied = 2


ObjectTemplate.create DestroyTargetObjective DestroyTurbine01
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.ObjectiveName DOOR
ObjectTemplate.setTargetName Turbine01
ObjectTemplate.setObjectiveDelay 1.0
ObjectTemplate.setTeam 2


ObjectTemplate.create DestroyTargetObjective DestroyTurbine02
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.ObjectiveName SAFE
ObjectTemplate.setTargetName Turbine02
ObjectTemplate.setObjectiveDelay 1.0
ObjectTemplate.setTeam 2

ObjectTemplate.create ANDCompositeObjective Composite
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.addObjectiveSpawnerToComposite ObjectiveSpawner01
ObjectTemplate.addObjectiveSpawnerToComposite ObjectiveSpawner02
ObjectTemplate.setObjectiveDelay 3.0
ObjectTemplate.setTeam 2

ObjectTemplate.create TimerObjective Timer
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.TimeLimit 900.0
ObjectTemplate.setObjectiveDelay 3.0
ObjectTemplate.setTeam 1


rem ============== ObjectTemplate for the objects to be destoryed ================

rem if v_arg1 == host


ObjectTemplate.create ObjectSpawner TurbineSpawner
ObjectTemplate.setObjectTemplate 1 EaglesNest_Door
ObjectTemplate.setObjectTemplate 2 EaglesNest_Door
ObjectTemplate.SpawnDelay 9999
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200

ObjectTemplate.create ObjectSpawner VaultSpawner
ObjectTemplate.setObjectTemplate 1 EaglesNest_Safe
ObjectTemplate.setObjectTemplate 2 EaglesNest_Safe
ObjectTemplate.SpawnDelay 9999
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200


rem ================= OjectiveSpawnerTemplates =======================================


ObjectTemplate.create ObjectSpawner DestroyTurbineObjectiveSpawner01
ObjectTemplate.setObjectTemplate 1 DestroyTurbine01
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 1

ObjectTemplate.create ObjectSpawner DestroyTurbineObjectiveSpawner02
ObjectTemplate.setObjectTemplate 1 DestroyTurbine02
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 1

ObjectTemplate.create ObjectSpawner AxisANDCompositeObjectiveSpawner
ObjectTemplate.setObjectTemplate 1 Composite
ObjectTemplate.setTeam 1

ObjectTemplate.create ObjectSpawner AlliedTimerObjectiveSpawner
ObjectTemplate.setObjectTemplate 1 Timer
ObjectTemplate.setSpawnDelay 1
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 1

rem endIf