This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Base.rte/Scripts/Examples Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ function MetaScript:PauseScript()
65
65
end
66
66
end
67
67
68
- function MetaScript :CraftEnteredOrbit ()
68
+ function MetaScript :CraftEnteredOrbit (orbitedCraft )
69
69
if SettingsMan .PrintDebugInfo then
70
70
print (self .PresetName .. " Orbited" )
71
- print (self . OrbitedCraft )
71
+ print (orbitedCraft )
72
72
end
73
73
end
Original file line number Diff line number Diff line change 377
377
-- Craft Entered Orbit
378
378
---- -------------------------------------------------------------------------------------
379
379
380
- function MaginotMission :CraftEnteredOrbit ()
380
+ function MaginotMission :CraftEnteredOrbit (orbitedCraft )
381
381
-- If a craft leaves with the brain robot...
382
- if self . OrbitedCraft :HasObjectInGroup (" Brains" ) then
382
+ if orbitedCraft :HasObjectInGroup (" Brains" ) then
383
383
-- Team 1 wins!
384
384
self .WinnerTeam = Activity .TEAM_1
385
385
ActivityMan :EndActivity ()
Original file line number Diff line number Diff line change @@ -445,11 +445,11 @@ end
445
445
-- Craft Entered Orbit
446
446
---- -------------------------------------------------------------------------------------
447
447
448
- function ZombieCaveMission :CraftEnteredOrbit ()
448
+ function ZombieCaveMission :CraftEnteredOrbit (orbitedCraft )
449
449
-- The intiial rocket has delivered the brain
450
450
self .BrainHasLanded = true ;
451
451
-- This is set to the ACraft that just entered orbit
452
- if self . OrbitedCraft :HasObject (" Control Chip" ) then
452
+ if orbitedCraft :HasObject (" Control Chip" ) then
453
453
-- WINRAR!
454
454
self .WinnerTeam = Activity .TEAM_1 ;
455
455
ActivityMan :EndActivity ();
You can’t perform that action at this time.
0 commit comments