Here is the code I used (Appreciate any help on anything else I may be missing here):
Code: Select all
scn TTWMZCTripActivatorScript
Begin OnActivate Player
if bInDCWasteland == 0
showmessage TTWMZCTravelNVtoDC
else
showmessage TTWMZCTravelDCtoNV
endif
End
Begin GameMode
if GetButtonPressed == 1
Playsound DRSDLC05TeleporterClose
if bInDCWasteland
Player.MoveTo TTWNVTrainEngineXMarker
SetLastExtDoorActivated TTWUnionAPStationDoorREF
set bInNVWasteland to 1
call TTWFNDisableDCWasteland
call TTWFNEnableNVWasteland
set TTWWorldLocation to 512
elseif bInNVWasteland
Player.MoveTo OlympusToPoseidonisTeleporterREF
SetLastExtDoorActivated OlympusToPoseidonisTeleporterREF
set bInDCWasteland to 1
set TTWWorldLocation to 3
call TTWFNDisableNVWasteland
call TTWFNEnableDCWasteland
endif
EnablePlayerControls 1 1 1 1 1 1 1
Activate Player 0
endif
End
