Not Stable Yet!
This article is part of the Witcher 3 scripting community documentation, which is considered to be UNSTABLE until after the release of the Blood and Wine DLC. Edits to these pages may be overwritten without notice!
CPlayer | |
---|---|
Signature |
statemachine import abstract class CPlayer extends CActor |
Parent |
CActor |
Sub-classes |
CR4Player |
Version |
1.12 |
Path |
/game/player/player.ws |
ISerializable > IScriptable > CObject > CNode > CEntity > CPeristentEntity > CGameplayEntity > CActor
Public Functions
AddMoney
public function AddMoney(amount : int)
- Parameters:
- amount : int
- Location:
- starts @ line 1991, ends @ line 1994
BlockAction
BlockAllActions
BlockAllQuestActions
BlockAllUIQuestActions
BreakPheromoneEffect
public function BreakPheromoneEffect() : bool
- Returns:
- Location:
- starts @ line 2049, ends @ line 2059
CanParryAttack
final function CanParryAttack() : bool
CanPlaySpecificVoiceset
public function CanPlaySpecificVoiceset() : bool
- Returns:
- Location:
- starts @ line 1969, ends @ line 1969
CanRaiseCombatActionFriendlyEvent
CanStartTalk
CheatGod2
public function CheatGod2(on : bool)
- Parameters:
- on : bool
- Location:
- starts @ line 413, ends @ line 421
DEBUGGetDisplayRadiusMinimapIcons
public function DEBUGGetDisplayRadiusMinimapIcons() : bool
- Returns:
- Location:
- starts @ line 2154, ends @ line 2157
DEBUGSetDisplayRadiusMinimapIcons
public function DEBUGSetDisplayRadiusMinimapIcons(inValue : bool) : void
- Parameters:
- inValue : bool
- Returns:
- void
- Location:
- starts @ line 2159, ends @ line 2162
Dbg_UnlockAllActions
public function Dbg_UnlockAllActions()
- Location:
- starts @ line 2164, ends @ line 2167
DebugKillAll
function DebugKillAll()
- Location:
- starts @ line 2137, ends @ line 2147
Debug_ResetInput
public function Debug_ResetInput()
- Location:
- starts @ line 274, ends @ line 278
DisableCombatState
public function DisableCombatState()
- Location:
- starts @ line 434, ends @ line 440
EnableBroadcastPresence
function EnableBroadcastPresence(enable : bool)
- Parameters:
- enable : bool
- Location:
- starts @ line 908, ends @ line 914
EnableHardLock
public function EnableHardLock(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 892, ends @ line 898
EnableRunCamera
function EnableRunCamera(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1208, ends @ line 1236
EnableSprintingCamera
function EnableSprintingCamera(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1162, ends @ line 1205
GetActionLocks
public function GetActionLocks(action : EInputActionBlock) : array<SInputActionLock>
- Parameters:
- action : EInputActionBlock
- Returns:
- Location:
- starts @ line 327, ends @ line 330
GetActiveExplorationEntity
import final function GetActiveExplorationEntity() : CEntity
- Returns:
- Location:
- starts @ line 215, ends @ line 215
GetAllActionLocks
public function GetAllActionLocks() : array<array<SInputActionLock>>
- Returns:
- Location:
- starts @ line 332, ends @ line 335
GetBInteractionPressed
function GetBInteractionPressed() : bool
- Returns:
- Location:
- starts @ line 1371, ends @ line 1374
GetBIsCombatActionAllowed
function GetBIsCombatActionAllowed() : bool
- Returns:
- Location:
- starts @ line 1978, ends @ line 1981
GetBIsInputAllowed
GetCurrentTrackedQuestGUID
public function GetCurrentTrackedQuestGUID() : CGUID
- Returns:
- CGUID
- Location:
- starts @ line 2097, ends @ line 2100
GetCurrentTrackedQuestObjectives
public function GetCurrentTrackedQuestObjectives() : array<SJournalQuestObjectiveData>
- Returns:
- Location:
- starts @ line 2080, ends @ line 2083
GetCurrentTrackedQuestSystemObjectives
public function GetCurrentTrackedQuestSystemObjectives() : array<SJournalQuestObjectiveData>
- Returns:
- Location:
- starts @ line 2063, ends @ line 2066
GetCurrentlyCastSign
function GetCurrentlyCastSign() : ESignType
- Returns:
- Location:
- starts @ line 2011, ends @ line 2014
GetEndScreenIsOpened
GetEquippedSign
function GetEquippedSign() : ESignType
- Returns:
- Location:
- starts @ line 2006, ends @ line 2009
GetHowLongSprintButtonWasPressed
public function GetHowLongSprintButtonWasPressed() : float
- Returns:
- Location:
- starts @ line 1116, ends @ line 1126
GetInputHandler
public function GetInputHandler() : CPlayerInput
- Returns:
- Location:
- starts @ line 407, ends @ line 410
GetInputModuleNeededToRun
function GetInputModuleNeededToRun() : float
- Returns:
- Location:
- starts @ line 1649, ends @ line 1660
GetIsCompanionFollowing
function GetIsCompanionFollowing() : bool
- Returns:
- Location:
- starts @ line 1498, ends @ line 1501
GetIsHorseMounted
GetIsMovable
GetIsRunning
GetIsSprintToggled
public function GetIsSprintToggled() : bool
- Returns:
- Location:
- starts @ line 1311, ends @ line 1314
GetIsSprinting
GetIsWalkToggled
public function GetIsWalkToggled() : bool
- Returns:
- Location:
- starts @ line 1321, ends @ line 1324
GetIsWalking
GetMoney
GetOTCameraOffset
public function GetOTCameraOffset() : float
- Returns:
- Location:
- starts @ line 2232, ends @ line 2235
GetRawLeftJoyRot
public function GetRawLeftJoyRot() : float
- Returns:
- Location:
- starts @ line 861, ends @ line 864
GetShowHud
GetSprintingTime
GetStartScreenEndWithBlackScreen
function GetStartScreenEndWithBlackScreen() : bool
- Returns:
- Location:
- starts @ line 1560, ends @ line 1563
GetStartScreenFadeDuration
function GetStartScreenFadeDuration() : float
- Returns:
- Location:
- starts @ line 1540, ends @ line 1543
GetStartScreenFadeInDuration
function GetStartScreenFadeInDuration() : float
- Returns:
- Location:
- starts @ line 1550, ends @ line 1553
GetStartScreenIsOpened
function GetStartScreenIsOpened() : bool
- Returns:
- Location:
- starts @ line 1514, ends @ line 1517
GetThreatLevel
function GetThreatLevel() : int
GetThrowItemMode
GetTutorialInputHandler
public function GetTutorialInputHandler() : W3PlayerTutorialInput
- Returns:
- Location:
- starts @ line 282, ends @ line 285
GetVehicleCachedSign
public function GetVehicleCachedSign() : ESignType
- Returns:
- Location:
- starts @ line 1984, ends @ line 1984
HAXCheckIfNew
public function HAXCheckIfNew(checkGUID : CGUID) : bool
- Parameters:
- checkGUID : CGUID
- Returns:
- Location:
- starts @ line 2108, ends @ line 2121
HandleMovement
function HandleMovement(deltaTime : float)
- Parameters:
- deltaTime : float
- Location:
- starts @ line 541, ends @ line 683
InitializeParryType
function InitializeParryType()
- Location:
- starts @ line 469, ends @ line 498
IsActionAllowed
public function IsActionAllowed(action : EInputActionBlock) : bool
- Parameters:
- action : EInputActionBlock
- Returns:
- Location:
- starts @ line 337, ends @ line 344
IsActionBlockedBy
public function IsActionBlockedBy(action : EInputActionBlock, sourceName : name) : bool
- Parameters:
- action : EInputActionBlock
- sourceName : name
- Returns:
- Location:
- starts @ line 346, ends @ line 353
IsActorLockedToTarget
public function IsActorLockedToTarget() : bool
- Returns:
- Location:
- starts @ line 871, ends @ line 874
IsAdaptiveBalance
IsCameraLockedToTarget
public function IsCameraLockedToTarget() : bool
- Returns:
- Location:
- starts @ line 882, ends @ line 885
IsCastingSign
IsCurrentSignChanneled
function IsCurrentSignChanneled() : bool
- Returns:
- Location:
- starts @ line 2021, ends @ line 2024
IsHardLockEnabled
public function IsHardLockEnabled() : bool
- Returns:
- Location:
- starts @ line 900, ends @ line 903
IsInAgony
public function IsInAgony() : bool
IsInCombatAction
IsInCombatActionFriendly
function IsInCombatActionFriendly() : bool
- Returns:
- Location:
- starts @ line 1381, ends @ line 1384
IsInCombatAction_SpecialAttack
public function IsInCombatAction_SpecialAttack() : bool
- Returns:
- Location:
- starts @ line 1386, ends @ line 1389
IsInCombatState
IsInHitAnim
IsInputHeadingReady
public function IsInputHeadingReady() : bool
- Returns:
- Location:
- starts @ line 535, ends @ line 538
IsKnockedUnconscious
public function IsKnockedUnconscious() : bool
IsLockedToTarget
public function IsLockedToTarget() : bool
- Returns:
- Location:
- starts @ line 887, ends @ line 890
IsLookInputIgnored
IsRunPressed
IsSailing
IsSprintActionPressed
public function IsSprintActionPressed() : bool
- Returns:
- Location:
- starts @ line 1301, ends @ line 1304
IsUITakeInput
IsWeaponActionAllowed
public function IsWeaponActionAllowed(weapon : EPlayerWeapon) : bool
- Parameters:
- weapon : EPlayerWeapon
- Returns:
- Location:
- starts @ line 355, ends @ line 371
LockButtonInteractions
import final function LockButtonInteractions(channel : int)
- Parameters:
- channel : int
- Location:
- starts @ line 210, ends @ line 210
OnRadialMenuItemChoose
function OnRadialMenuItemChoose(selectedItem : string)
- Parameters:
- selectedItem : string
- Location:
- starts @ line 2027, ends @ line 2030
PlayerCanComment
PlayerCanPlayMonsterCommentary
function PlayerCanPlayMonsterCommentary() : bool
- Returns:
- Location:
- starts @ line 1906, ends @ line 1915
PlayerCommentary
function PlayerCommentary(commentaryType : EPlayerCommentary, optional newCommentaryCooldown : float)
- Parameters:
- commentaryType : EPlayerCommentary
- optional newCommentaryCooldown : float
- Location:
- starts @ line 1917, ends @ line 1954
RaiseCombatActionFriendlyEvent
public function RaiseCombatActionFriendlyEvent() : bool
- Returns:
- Location:
- starts @ line 1414, ends @ line 1426
ReapplyCriticalBuff
public function ReapplyCriticalBuff()
- Location:
- starts @ line 2212, ends @ line 2223
RemoveAllPotionEffects
public function RemoveAllPotionEffects(optional skip : array<CBaseGameplayEffect>)
- Parameters:
- optional skip : array<CBaseGameplayEffect>
- Location:
- starts @ line 2044, ends @ line 2047
RemoveMoney
public function RemoveMoney(amount : int)
- Parameters:
- amount : int
- Location:
- starts @ line 1996, ends @ line 1999
RemoveReactions
function RemoveReactions()
- Location:
- starts @ line 916, ends @ line 923
ResetDeathType
public function ResetDeathType()
- Location:
- starts @ line 976, ends @ line 979
ResetLastAxisInputIsMovement
public function ResetLastAxisInputIsMovement()
- Location:
- starts @ line 728, ends @ line 731
RestartReactionsIfNeeded
function RestartReactionsIfNeeded()
- Location:
- starts @ line 925, ends @ line 931
SetAdaptiveBalance
function SetAdaptiveBalance(val : bool)
- Parameters:
- val : bool
- Location:
- starts @ line 195, ends @ line 199
SetBInteractionPressed
function SetBInteractionPressed(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1366, ends @ line 1369
SetBIsFirstAttackInCombo
function SetBIsFirstAttackInCombo(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1629, ends @ line 1632
SetBIsInCombatAction
public function SetBIsInCombatAction(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1391, ends @ line 1407
SetBIsInCombatActionFriendly
public function SetBIsInCombatActionFriendly(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1409, ends @ line 1412
SetBIsInputAllowed
SetCanPlaySpecificVoiceset
public function SetCanPlaySpecificVoiceset(val : bool)
- Parameters:
- val : bool
- Location:
- starts @ line 1970, ends @ line 1970
SetCurrentTrackedQuestGUID
public function SetCurrentTrackedQuestGUID(cTQG : CGUID) : void
- Parameters:
- cTQG : CGUID
- Returns:
- void
- Location:
- starts @ line 2102, ends @ line 2105
SetCurrentTrackedQuestObjectives
public function SetCurrentTrackedQuestObjectives(cTQO : array<SJournalQuestObjectiveData>) : void
- Parameters:
- cTQO : array<SJournalQuestObjectiveData>
- Returns:
- void
- Location:
- starts @ line 2085, ends @ line 2095
SetCurrentTrackedQuestSystemObjectives
public function SetCurrentTrackedQuestSystemObjectives(cTQO : array<SJournalQuestObjectiveData>) : void
- Parameters:
- cTQO : array<SJournalQuestObjectiveData>
- Returns:
- void
- Location:
- starts @ line 2068, ends @ line 2078
SetDeathType
public function SetDeathType(type : EPlayerDeathType)
- Parameters:
- type : EPlayerDeathType
- Location:
- starts @ line 971, ends @ line 974
SetEndScreenIsOpened
function SetEndScreenIsOpened(isOpened : bool) : void
- Parameters:
- isOpened : bool
- Returns:
- void
- Location:
- starts @ line 1519, ends @ line 1528
SetGuarded
function SetGuarded(flag : bool)
SetInputHeadingReady
public function SetInputHeadingReady(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 530, ends @ line 533
SetInputModuleNeededToRun
function SetInputModuleNeededToRun(_inputModuleNeededToRun : float)
- Parameters:
- _inputModuleNeededToRun : float
- Location:
- starts @ line 1644, ends @ line 1647
SetIsActorLockedToTarget
public function SetIsActorLockedToTarget(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 866, ends @ line 869
SetIsCameraLockedToTarget
public function SetIsCameraLockedToTarget(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 877, ends @ line 880
SetIsCompanionFollowing
function SetIsCompanionFollowing(isOn : bool)
- Parameters:
- isOn : bool
- Location:
- starts @ line 1494, ends @ line 1497
SetIsHorseMounted
function SetIsHorseMounted(isOn : bool)
- Parameters:
- isOn : bool
- Location:
- starts @ line 1483, ends @ line 1486
SetIsInHitAnim
function SetIsInHitAnim(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1639, ends @ line 1642
SetIsMovable
final function SetIsMovable(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1346, ends @ line 1349
SetIsRunning
public function SetIsRunning(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1331, ends @ line 1334
SetIsSprinting
function SetIsSprinting(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1128, ends @ line 1159
SetIsWalking
function SetIsWalking(walking : bool)
- Parameters:
- walking : bool
- Location:
- starts @ line 1341, ends @ line 1344
SetManualControl
SetShowHud
public function SetShowHud(value : bool) : void
- Parameters:
- value : bool
- Returns:
- void
- Location:
- starts @ line 2128, ends @ line 2131
SetSprintActionPressed
SetSprintToggle
public function SetSprintToggle(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1306, ends @ line 1309
SetStartScreenEndWithBlackScreen
function SetStartScreenEndWithBlackScreen(value : bool) : void
- Parameters:
- value : bool
- Returns:
- void
- Location:
- starts @ line 1555, ends @ line 1558
SetStartScreenFadeDuration
function SetStartScreenFadeDuration(fadeTime : float) : void
- Parameters:
- fadeTime : float
- Returns:
- void
- Location:
- starts @ line 1535, ends @ line 1538
SetStartScreenFadeInDuration
function SetStartScreenFadeInDuration(fadeTime : float) : void
- Parameters:
- fadeTime : float
- Returns:
- void
- Location:
- starts @ line 1545, ends @ line 1548
SetStartScreenIsOpened
function SetStartScreenIsOpened(isOpened : bool) : void
- Parameters:
- isOpened : bool
- Returns:
- void
- Location:
- starts @ line 1503, ends @ line 1512
SetTeleportedOnBoatToOtherHUB
public function SetTeleportedOnBoatToOtherHUB(val : bool)
- Parameters:
- val : bool
- Location:
- starts @ line 201, ends @ line 204
SetUITakeInput
public function SetUITakeInput(val : bool)
- Parameters:
- val : bool
- Location:
- starts @ line 856, ends @ line 859
SetUpdateQuickSlotItems
public function SetUpdateQuickSlotItems(bUpdate : bool)
- Parameters:
- bUpdate : bool
- Location:
- starts @ line 2039, ends @ line 2042
SetVehicleCachedSign
public function SetVehicleCachedSign(sign : ESignType)
- Parameters:
- sign : ESignType
- Location:
- starts @ line 1983, ends @ line 1983
SetWalkToggle
public function SetWalkToggle(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 1316, ends @ line 1319
SteppedOnTerrain
public function SteppedOnTerrain(type : ETerrainType)
- Parameters:
- type : ETerrainType
- Location:
- starts @ line 1858, ends @ line 1890
StopRun
function StopRun()
- Location:
- starts @ line 1094, ends @ line 1098
TutorialForceRestoreRadialLocks
public final function TutorialForceRestoreRadialLocks(radialLocks : array<SInputActionLock>)
- Parameters:
- radialLocks : array<SInputActionLock>
- Location:
- starts @ line 319, ends @ line 325
TutorialForceUnblockRadial
public final function TutorialForceUnblockRadial() : array<SInputActionLock>
- Returns:
- Location:
- starts @ line 307, ends @ line 317
UnblockAction
public function UnblockAction(action : EInputActionBlock, sourceName : name) : bool
- Parameters:
- action : EInputActionBlock
- sourceName : name
- Returns:
- Location:
- starts @ line 297, ends @ line 305
UnlockButtonInteractions
import final function UnlockButtonInteractions(channel : int)
- Parameters:
- channel : int
- Location:
- starts @ line 213, ends @ line 213
UpdateQuickSlotItems
public function UpdateQuickSlotItems() : bool
- Returns:
- Location:
- starts @ line 2033, ends @ line 2036
UpdateRequestedDirectionVariables_PlayerDefault
public function UpdateRequestedDirectionVariables_PlayerDefault()
- Location:
- starts @ line 1578, ends @ line 1581
spawnBoatAndMount
final function spawnBoatAndMount()
- Location:
- starts @ line 2250, ends @ line 2298
Public Vars
DEATH_SCREEN_OPEN_DELAY
const var DEATH_SCREEN_OPEN_DELAY : float
- Location:
- defined @ line 63
DangerZoneDistMax
public editable var DangerZoneDistMax : float
- Location:
- defined @ line 43
ENTER_SWIMMING_WATER_LEVEL
public const var ENTER_SWIMMING_WATER_LEVEL : float
- Location:
- defined @ line 25
FarZoneDistMax
public editable var FarZoneDistMax : float
- Location:
- defined @ line 42
allowStopRunCheck
public var allowStopRunCheck : bool
- Location:
- defined @ line 120
bEndScreenIsOpened
public var bEndScreenIsOpened : bool
- Location:
- defined @ line 59
bIsFirstAttackInCombo
public var bIsFirstAttackInCombo : bool
- Location:
- defined @ line 39
bIsRollAllowed
public var bIsRollAllowed : bool
- Location:
- defined @ line 35
bLAxisReleased
public var bLAxisReleased : bool
- Location:
- defined @ line 73
bRAxisReleased
public var bRAxisReleased : bool
- Location:
- defined @ line 74
bStartScreenEndWithBlackScreen
public var bStartScreenEndWithBlackScreen : bool
- Location:
- defined @ line 61
bStartScreenIsOpened
public var bStartScreenIsOpened : bool
- Location:
- defined @ line 58
cachedCombatActionHeading
public var cachedCombatActionHeading : float
- Location:
- defined @ line 93
cachedRawPlayerHeading
public var cachedRawPlayerHeading : float
- Location:
- defined @ line 92
canResetCachedCombatActionHeading
public var canResetCachedCombatActionHeading : bool
- Location:
- defined @ line 94
currentlyEquipedItemL
public saved var currentlyEquipedItemL : SItemUniqueId
- Location:
- defined @ line 178
disableSprintingTimerEnabled
var disableSprintingTimerEnabled : bool
- Location:
- defined @ line 1290
equipmentSlotHistory
public saved var equipmentSlotHistory : array<SItemUniqueId>
- Location:
- defined @ line 136
fStartScreenFadeDuration
public var fStartScreenFadeDuration : float
- Location:
- defined @ line 60
fStartScreenFadeInDuration
public var fStartScreenFadeInDuration : float
- Location:
- defined @ line 62
findMoveTargetDist
public var findMoveTargetDist : float
- Location:
- defined @ line 153
handAimPitch
public var handAimPitch : float
- Location:
- defined @ line 145
interiorCamera
public var interiorCamera : bool
- Location:
- defined @ line 125
inv
public var inv : CInventoryComponent
- Location:
- defined @ line 134
isAdaptiveBalance
public var isAdaptiveBalance : bool
- Location:
- defined @ line 188
isCompanionFollowing
public var isCompanionFollowing : bool
- Location:
- defined @ line 57
isHorseMounted
public var isHorseMounted : bool
- Location:
- defined @ line 56
isMovable
import public var isMovable : bool
- Location:
- defined @ line 104
lAxisReleaseCounterEnabled
public var lAxisReleaseCounterEnabled : bool
- Location:
- defined @ line 827
lAxisReleaseCounterEnabledNoCA
public var lAxisReleaseCounterEnabledNoCA : bool
- Location:
- defined @ line 836
lAxisReleasedAfterCounter
public var lAxisReleasedAfterCounter : bool
- Location:
- defined @ line 826
lAxisReleasedAfterCounterNoCA
public var lAxisReleasedAfterCounterNoCA : bool
- Location:
- defined @ line 835
lastAxisInputIsMovement
var lastAxisInputIsMovement : bool
- Location:
- defined @ line 540
lockTargetSelectionHeading
public var lockTargetSelectionHeading : float
- Location:
- defined @ line 109
modifyPlayerSpeed
public var modifyPlayerSpeed : bool
- Location:
- defined @ line 128
moveTarget
public var moveTarget : CActor
- Location:
- defined @ line 106
moveTargetDampValue
public var moveTargetDampValue : float
- Location:
- defined @ line 121
movementLockType
public var movementLockType : EPlayerMovementLockType
- Location:
- defined @ line 126
nonActorTarget
public var nonActorTarget : CGameplayEntity
- Location:
- defined @ line 107
oTCameraOffset
public var oTCameraOffset : float
- Location:
- defined @ line 30
oTCameraPitchOffset
public var oTCameraPitchOffset : float
- Location:
- defined @ line 31
playerMoveType
public var playerMoveType : EPlayerMoveType
- Location:
- defined @ line 100
rawCameraHeading
public var rawCameraHeading : float
- Location:
- defined @ line 96
rawPlayerAngle
public var rawPlayerAngle : float
- Location:
- defined @ line 89
rawPlayerHeading
public var rawPlayerHeading : float
- Location:
- defined @ line 90
rawPlayerSpeed
public var rawPlayerSpeed : float
- Location:
- defined @ line 88
runningCamera
var runningCamera : bool
- Location:
- defined @ line 1207
scriptedCombatCamera
public var scriptedCombatCamera : bool
- Location:
- defined @ line 127
softLockDist
public editable var softLockDist : float
- Location:
- defined @ line 151
softLockDistVehicle
public var softLockDistVehicle : float
- Location:
- defined @ line 154
softLockFrameSize
public editable var softLockFrameSize : float
- Location:
- defined @ line 152
sprintActionPressed
public var sprintActionPressed : bool
- Location:
- defined @ line 77
sprintingCamera
var sprintingCamera : bool
- Location:
- defined @ line 1161
teleportedOnBoatToOtherHUB
public saved var teleportedOnBoatToOtherHUB : bool
- Location:
- defined @ line 183
tempLookAtTarget
public var tempLookAtTarget : CGameplayEntity
- Location:
- defined @ line 108
useSprintingCameraAnim
public var useSprintingCameraAnim : bool
- Location:
- defined @ line 29
Protected Functions
ParryCounterCheck
protected function ParryCounterCheck() : bool
- Returns:
- Location:
- starts @ line 1460, ends @ line 1480
ProcessLAxisCaching
protected function ProcessLAxisCaching()
- Location:
- starts @ line 685, ends @ line 726
ProcessLockTargetSelectionInput
SetAbilityManager
protected function SetAbilityManager()
- Overrides member from: CActor
- Location:
- starts @ line 442, ends @ line 445
ShouldDrainStaminaWhileSprinting
protected function ShouldDrainStaminaWhileSprinting() : bool
- Returns:
- Location:
- starts @ line 1253, ends @ line 1267
ShouldUseStaminaWhileSprinting
Protected Vars
bIsInCombatAction
protected var bIsInCombatAction : bool
- Location:
- defined @ line 36
bIsInCombatActionFriendly
protected var bIsInCombatActionFriendly : bool
- Location:
- defined @ line 37
bIsInHitAnim
protected var bIsInHitAnim : bool
- Location:
- defined @ line 40
combatActionHeading
protected var combatActionHeading : float
- Location:
- defined @ line 95
currentlyEquipedItem
protected var currentlyEquipedItem : SItemUniqueId
- Location:
- defined @ line 176
currentlyUsedItem
protected var currentlyUsedItem : W3UsableItem
- Location:
- defined @ line 175
currentlyUsedItemL
protected var currentlyUsedItemL : W3UsableItem
- Location:
- defined @ line 177
inputHandler
protected saved var inputHandler : CPlayerInput
- Location:
- defined @ line 76
isRunning
protected var isRunning : bool
- Location:
- defined @ line 98
isUsableItemBlocked
protected var isUsableItemBlocked : bool
- Location:
- defined @ line 179
isUsableItemLtransitionAllowed
protected var isUsableItemLtransitionAllowed : bool
- Location:
- defined @ line 180
isWalking
protected var isWalking : bool
- Location:
- defined @ line 99
lastValidLeftJoyVec
protected var lastValidLeftJoyVec : Vector
- Location:
- defined @ line 117
lastValidRightJoyVec
protected var lastValidRightJoyVec : Vector
- Location:
- defined @ line 118
playerActionToRestore
protected var playerActionToRestore : EPlayerActionToRestore
- Location:
- defined @ line 181
prevRawLeftJoyVec
protected var prevRawLeftJoyVec : Vector
- Location:
- defined @ line 115
prevRawRightJoyVec
protected var prevRawRightJoyVec : Vector
- Location:
- defined @ line 116
rawLeftJoyRot
protected var rawLeftJoyRot : float
- Location:
- defined @ line 111
rawLeftJoyVec
protected var rawLeftJoyVec : Vector
- Location:
- defined @ line 113
rawRightJoyRot
protected var rawRightJoyRot : float
- Location:
- defined @ line 112
rawRightJoyVec
protected var rawRightJoyVec : Vector
- Location:
- defined @ line 114
Event Handlers
OnAllowShallowWaterCheck
event OnAllowShallowWaterCheck()
- Location:
- starts @ line 1806
OnAllowSwimmingSprint
event OnAllowSwimmingSprint()
- Location:
- starts @ line 1808
OnAllowedDiveDown
event OnAllowedDiveDown()
- Location:
- starts @ line 1809
OnAnimEvent_AllowBlend
event OnAnimEvent_AllowBlend(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1707
OnAnimEvent_AllowHitAnim
event OnAnimEvent_AllowHitAnim(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1702
OnAnimEvent_AllowInput
event OnAnimEvent_AllowInput(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1664
OnAnimEvent_DisallowHitAnim
event OnAnimEvent_DisallowHitAnim(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1686
OnAnimEvent_DisallowInput
event OnAnimEvent_DisallowInput(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1674
OnAnimEvent_EquipMedallion
event OnAnimEvent_EquipMedallion(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1785
OnAnimEvent_HideMedallion
event OnAnimEvent_HideMedallion(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1792
OnAnimEvent_InAirKDCheck
event OnAnimEvent_InAirKDCheck(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1775
OnAnimEvent_QuickSlotItems
event OnAnimEvent_QuickSlotItems(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1712
OnAnimEvent_SetRagdoll
event OnAnimEvent_SetRagdoll(animEventName : name, animEventType : EAnimationEventType, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 1762
OnBlockingSceneEnded
event OnBlockingSceneEnded(optional output : CStorySceneOutput)
- Parameters:
- optional output : CStorySceneOutput
- Overrides member from: CActor
- Location:
- starts @ line 947
OnBlockingSceneStarted
event OnBlockingSceneStarted(scene : CStoryScene)
- Parameters:
- scene : CStoryScene
- Overrides member from: CActor
- Location:
- starts @ line 936
OnCheckDiving
event OnCheckDiving()
- Location:
- starts @ line 1805
OnCheckUnconscious
event OnCheckUnconscious()
- Location:
- starts @ line 1807
OnCriticalStateAnimStop
event OnCriticalStateAnimStop()
- Location:
- starts @ line 2195
OnCriticalStateAnimStopGlobalHack
event OnCriticalStateAnimStopGlobalHack()
- Location:
- starts @ line 2173
OnDamageFromBoids
OnDeath
event OnDeath(damageAction : W3DamageAction)
- Parameters:
- damageAction : W3DamageAction
- Overrides member from: CActor
- Location:
- starts @ line 982
OnDelayOrientationChange
event OnDelayOrientationChange()
- Location:
- starts @ line 1608
OnDive
event OnDive()
- Location:
- starts @ line 1802
OnDiveInput
OnDiving
OnDodgeBoost
event OnDodgeBoost()
- Location:
- starts @ line 1091
OnHitByObstacle
event OnHitByObstacle(obstacleComponent : CComponent)
- Parameters:
- obstacleComponent : CComponent
- Location:
- starts @ line 2149
OnHitCeiling
event OnHitCeiling()
- Location:
- starts @ line 1830
OnHitGround
event OnHitGround()
- Location:
- starts @ line 1826
OnIsCameraUnderwater
event OnIsCameraUnderwater()
- Location:
- starts @ line 1812
OnPlayerTickTimer
event OnPlayerTickTimer(deltaTime : float)
- Parameters:
- deltaTime : float
- Location:
- starts @ line 500
OnRecoverFromRagdollEnd
event OnRecoverFromRagdollEnd()
- Location:
- starts @ line 2206
OnSpawned
event OnSpawned(spawnData : SEntitySpawnData)
- Parameters:
- spawnData : SEntitySpawnData
- Overrides member from: CActor
- Location:
- starts @ line 219
OnUnconsciousEnd
event OnUnconsciousEnd()
- Location:
- starts @ line 1080
States
ApproachTheVehicle
state ApproachTheVehicle in CPlayer extends Base
- Location:
- /game/player/states/vehicles/approachTheVehicle.ws starts @ line 6, ends @ line 95
Attached
state Attached in CPlayer extends Base
- Location:
- /game/player/states/attached.ws starts @ line 10, ends @ line 39
Base
import state Base in CPlayer
- Location:
- /game/player/states/base.ws starts @ line 7, ends @ line 16
BoardObserving
state BoardObserving in CPlayer
- Location:
- /game/player/states/boardObserving.ws starts @ line 11, ends @ line 22
DismountBoat
state DismountBoat in CPlayer extends DismountTheVehicle
- Location:
- /game/player/states/vehicles/dismountBoat.ws starts @ line 8, ends @ line 124
DismountTheVehicle
state DismountTheVehicle in CPlayer extends PostUseVehicle
- Location:
- /game/player/states/vehicles/dismountTheVehicle.ws starts @ line 8, ends @ line 100
DrinkingPlayerContestant
state DrinkingPlayerContestant in CPlayer
- Location:
- /game/player/states/minigames/DrinkingPlayerContestantState.ws starts @ line 10, ends @ line 29
Movable
import state Movable in CPlayer extends Base
- Location:
- /game/player/states/movable.ws starts @ line 35, ends @ line 126
PlayerDialogScene
state PlayerDialogScene in CPlayer extends Base
- Location:
- /game/player/states/playerDialogState.ws starts @ line 10, ends @ line 123
PostUseVehicle
import state PostUseVehicle in CPlayer extends Base
- Location:
- /game/player/states/vehicles/useVehicle.ws starts @ line 29, ends @ line 47
TraverseExploration
state TraverseExploration in CPlayer extends Base
- Location:
- /game/player/states/traverseExploration.ws starts @ line 10, ends @ line 113
UseVehicle
import state UseVehicle in CPlayer extends Base
- Location:
- /game/player/states/vehicles/useVehicle.ws starts @ line 10, ends @ line 23