Initial commit version 0.1.0
This commit is contained in:
26
ResultScripts/RYBQuestStage42PositionExecLamp.psc
Normal file
26
ResultScripts/RYBQuestStage42PositionExecLamp.psc
Normal file
@@ -0,0 +1,26 @@
|
||||
; RYB Stage 42 Lamp Position Execution
|
||||
|
||||
if (RYB.Resetting == 2)
|
||||
RYBLampOffRef.MoveTo RYBBoatRef
|
||||
else
|
||||
RYBLampOffRef.MoveTo Player
|
||||
endif
|
||||
RYBLampOffRef.SetPos x, RYB.LampX
|
||||
RYBLampOffRef.SetPos y, RYB.LampY
|
||||
RYBLampOffRef.SetPos z, RYB.LampZ
|
||||
RYBLampOffRef.SetAngle z, RYB.BoatAngle
|
||||
RYBLampOffRef.SetAngle x, RYB.BoatPitchAngle
|
||||
RYBLampOffRef.SetAngle y, RYB.BoatRollAngle
|
||||
if (RYB.LampOn == 1)
|
||||
if (RYB.Resetting == 2)
|
||||
RYBLampOnRef.MoveTo RYBBoatRef
|
||||
else
|
||||
RYBLampOnRef.MoveTo Player
|
||||
endif
|
||||
RYBLampOnRef.SetPos x, RYB.LampX
|
||||
RYBLampOnRef.SetPos y, RYB.LampY
|
||||
RYBLampOnRef.SetPos z, RYB.LampZ
|
||||
RYBLampOnRef.SetAngle z, RYB.BoatAngle
|
||||
RYBLampOnRef.SetAngle x, RYB.BoatPitchAngle
|
||||
RYBLampOnRef.SetAngle y, RYB.BoatRollAngle
|
||||
endif
|
||||
Reference in New Issue
Block a user