Table of Contents

VISITOR

Category: Component

Parent class: COMPONENT

Properties


Name

Runtime only, Savegame


Destination

Runtime only, Savegame


OverrideInteractiveLocationSetup

Runtime only, Savegame


VisitorPurpose

Runtime only, Savegame


AssetVisitorStatus

Runtime only, Savegame


TimeAtDestinationInSec

Runtime only, Savegame


CurrentTimeLeftAtDestination

Runtime only, Savegame


IsRequiredToVisitLocation

Runtime only, Savegame


HasArrived

Runtime only, Savegame


IsLeaving

Runtime only, Savegame

Functions


setActionOnClick

void setActionOnClick(actionToClone, clickAudioKey)

Name Type Description
actionToClone GAME_ACTION
clickAudioKey string

setActionOnLeaving

void setActionOnLeaving(actionToClone)

Name Type Description
actionToClone GAME_ACTION

setCallbackOnClick

void setCallbackOnClick(onClickCallback)

Name Type Description
onClickCallback function<void()>

getActionOnClick

GAME_ACTION getActionOnClick()


setArrivingWorldGuiIcon

void setArrivingWorldGuiIcon(arrivingWorldGuiIcon)

Name Type Description
arrivingWorldGuiIcon ATLAS_CELL

setActionWorldGuiIcon

void setActionWorldGuiIcon(actionWorldGuiIcon)

Name Type Description
actionWorldGuiIcon ATLAS_CELL

focusVisitor

void focusVisitor()

Events


ON_ARRIVED

ON_ARRIVED()


ON_TIME_LEFT_AT_DESTINATION_UPDATED

ON_TIME_LEFT_AT_DESTINATION_UPDATED(float)