PlatformControllerPS class
PlatformControllerPS
Inheritance
Base: ScriptableDeviceComponentPS
Derived
None.
Properties
| Property | Type | |
|---|---|---|
floors | NodeRef[] | scripted |
startingFloor | int | scripted |
speed | float | scripted |
curve | CName | scripted |
errorMSG | string | scripted |
nextFloor | int | scripted |
prevFloor | int | scripted |
destinationFloor | int | scripted |
currentFloor | int | scripted |
isPlayerOnPlatform | bool | scripted |
isMoving | bool | scripted |
paused | bool | scripted |
pausingTime | float | scripted |
Functions
void SetNextFloor(int floorIndx)RTTIvoid SetPrevFloor(int floorIndx)RTTIvoid SetDestination(int floorIndx)RTTIvoid SetCurrentFloor(int floorIndx)RTTIvoid SetIsMoving(bool value)RTTIEntityNotificationType SetPlayerOnPlatform(bool value)RTTIvoid SetPauseTime(float time)RTTIstring GetError()RTTIfloat GetSpeed()RTTICName GetCurveName()RTTINodeRef GetFloorNode(int floor)RTTINodeRef GetDestinationNode()RTTIbool IsPaused()RTTIfloat GetResumeTime()RTTIbool IsPlayerOnPlatform(bool isInverted)RTTIbool IsMoving(bool isInverted)RTTIbool IsAtFloor(int floor)RTTIvoid Initialize()overrideRTTIbool ValidateFloors()RTTIvoid LinkPlatforms()RTTIEntityNotificationType OnQuestMoveToFloor(QuestMoveToFloor evt)RTTIEntityNotificationType OnQuestMoveToNextFloor(QuestMoveToNextFloor evt)RTTIEntityNotificationType OnQuestMoveToPrevFloor(QuestMoveToPrevFloor evt)RTTIEntityNotificationType OnQuestPause(QuestPause evt)RTTIEntityNotificationType OnQuestResume(QuestResume evt)RTTIEntityNotificationType OnArrivedAt(game.MovingPlatformArrivedAt evt)RTTIToggleON? ActionToggleON()overrideRTTIQuestMoveToFloor? ActionQuestMoveToFloor()RTTIQuestMoveToNextFloor? ActionMoveToNextFloor()RTTIQuestMoveToPrevFloor? ActionMoveToPrevFloor()RTTIQuestPause? ActionQuestPause()RTTIQuestResume? ActionQuestResume()RTTI