Witcher Wiki
Substances Graveir bone
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

public function BlockAction(action : EInputActionBlock, sourceName : name, optional keepOnSpawn : bool, optional isFromQuest : bool, optional isFromPlace : bool) : bool
Parameters:
action : EInputActionBlock
sourceName : name
optional keepOnSpawn : bool
optional isFromQuest : bool
optional isFromPlace : bool
Returns:
bool
Location:
starts @ line 287, ends @ line 295

BlockAllActions

public function BlockAllActions(sourceName : name, lock : bool, optional exceptions : array<EInputActionBlock>, optional exceptUI : bool, optional saveLock : bool, optional onSpawnedNullPointerHackFix : CPlayer, optional isFromPlace : bool)
Parameters:
sourceName : name
lock : bool
optional exceptions : array<EInputActionBlock>
optional exceptUI : bool
optional saveLock : bool
optional onSpawnedNullPointerHackFix : CPlayer
optional isFromPlace : bool
Location:
starts @ line 373, ends @ line 393

BlockAllQuestActions

public final function BlockAllQuestActions(sourceName : name, lock : bool)
Parameters:
sourceName : name
lock : bool
Location:
starts @ line 395, ends @ line 398

BlockAllUIQuestActions

public function BlockAllUIQuestActions(sourceName : name, lock : bool)
Parameters:
sourceName : name
lock : bool
Location:
starts @ line 400, ends @ line 403

BreakPheromoneEffect

public function BreakPheromoneEffect() : bool
Returns:
bool
Location:
starts @ line 2049, ends @ line 2059

CanParryAttack

final function CanParryAttack() : bool
Returns:
bool
Overrides member from: CActor
Location:
starts @ line 1454, ends @ line 1457

CanPlaySpecificVoiceset

public function CanPlaySpecificVoiceset() : bool
Returns:
bool
Location:
starts @ line 1969, ends @ line 1969

CanRaiseCombatActionFriendlyEvent

public function CanRaiseCombatActionFriendlyEvent(optional isShootingCrossbow : bool) : bool
Parameters:
optional isShootingCrossbow : bool
Returns:
bool
Location:
starts @ line 1428, ends @ line 1451

CanStartTalk

public function CanStartTalk() : bool
Returns:
bool
Location:
starts @ line 1567, ends @ line 1572

CheatGod2

public function CheatGod2(on : bool)
Parameters:
on : bool
Location:
starts @ line 413, ends @ line 421

DEBUGGetDisplayRadiusMinimapIcons

public function DEBUGGetDisplayRadiusMinimapIcons() : bool
Returns:
bool
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:
array<SInputActionLock>
Location:
starts @ line 327, ends @ line 330

GetActiveExplorationEntity

import final function GetActiveExplorationEntity() : CEntity
Returns:
CEntity
Location:
starts @ line 215, ends @ line 215

GetAllActionLocks

public function GetAllActionLocks() : array<array<SInputActionLock>>
Returns:
array<array<SInputActionLock>>
Location:
starts @ line 332, ends @ line 335

GetBInteractionPressed

function GetBInteractionPressed() : bool
Returns:
bool
Location:
starts @ line 1371, ends @ line 1374

GetBIsCombatActionAllowed

function GetBIsCombatActionAllowed() : bool
Returns:
bool
Location:
starts @ line 1978, ends @ line 1981

GetBIsInputAllowed

function GetBIsInputAllowed() : bool
Returns:
bool
Location:
starts @ line 1624, ends @ line 1627

GetCurrentTrackedQuestGUID

public function GetCurrentTrackedQuestGUID() : CGUID
Returns:
CGUID
Location:
starts @ line 2097, ends @ line 2100

GetCurrentTrackedQuestObjectives

public function GetCurrentTrackedQuestObjectives() : array<SJournalQuestObjectiveData>
Returns:
array<SJournalQuestObjectiveData>
Location:
starts @ line 2080, ends @ line 2083

GetCurrentTrackedQuestSystemObjectives

public function GetCurrentTrackedQuestSystemObjectives() : array<SJournalQuestObjectiveData>
Returns:
array<SJournalQuestObjectiveData>
Location:
starts @ line 2063, ends @ line 2066

GetCurrentlyCastSign

function GetCurrentlyCastSign() : ESignType
Returns:
ESignType
Location:
starts @ line 2011, ends @ line 2014

GetEndScreenIsOpened

function GetEndScreenIsOpened() : bool
Returns:
bool
Location:
starts @ line 1530, ends @ line 1533

GetEquippedSign

function GetEquippedSign() : ESignType
Returns:
ESignType
Location:
starts @ line 2006, ends @ line 2009

GetHowLongSprintButtonWasPressed

public function GetHowLongSprintButtonWasPressed() : float
Returns:
float
Location:
starts @ line 1116, ends @ line 1126

GetInputHandler

public function GetInputHandler() : CPlayerInput
Returns:
CPlayerInput
Location:
starts @ line 407, ends @ line 410

GetInputModuleNeededToRun

function GetInputModuleNeededToRun() : float
Returns:
float
Location:
starts @ line 1649, ends @ line 1660

GetIsCompanionFollowing

function GetIsCompanionFollowing() : bool
Returns:
bool
Location:
starts @ line 1498, ends @ line 1501

GetIsHorseMounted

function GetIsHorseMounted() : bool
Returns:
bool
Location:
starts @ line 1488, ends @ line 1491

GetIsMovable

final function GetIsMovable() : bool
Returns:
bool
Location:
starts @ line 1361, ends @ line 1364

GetIsRunning

public function GetIsRunning() : bool
Returns:
bool
Location:
starts @ line 1326, ends @ line 1329

GetIsSprintToggled

public function GetIsSprintToggled() : bool
Returns:
bool
Location:
starts @ line 1311, ends @ line 1314

GetIsSprinting

function GetIsSprinting() : bool
Returns:
bool
Location:
starts @ line 1274, ends @ line 1277

GetIsWalkToggled

public function GetIsWalkToggled() : bool
Returns:
bool
Location:
starts @ line 1321, ends @ line 1324

GetIsWalking

function GetIsWalking() : bool
Returns:
bool
Location:
starts @ line 1336, ends @ line 1339

GetMoney

public function GetMoney() : int
Returns:
int
Location:
starts @ line 1986, ends @ line 1989

GetOTCameraOffset

public function GetOTCameraOffset() : float
Returns:
float
Location:
starts @ line 2232, ends @ line 2235

GetRawLeftJoyRot

public function GetRawLeftJoyRot() : float
Returns:
float
Location:
starts @ line 861, ends @ line 864

GetShowHud

public function GetShowHud() : bool
Returns:
bool
Location:
starts @ line 2123, ends @ line 2126

GetSprintingTime

function GetSprintingTime() : float
Returns:
float
Location:
starts @ line 1279, ends @ line 1287

GetStartScreenEndWithBlackScreen

function GetStartScreenEndWithBlackScreen() : bool
Returns:
bool
Location:
starts @ line 1560, ends @ line 1563

GetStartScreenFadeDuration

function GetStartScreenFadeDuration() : float
Returns:
float
Location:
starts @ line 1540, ends @ line 1543

GetStartScreenFadeInDuration

function GetStartScreenFadeInDuration() : float
Returns:
float
Location:
starts @ line 1550, ends @ line 1553

GetStartScreenIsOpened

function GetStartScreenIsOpened() : bool
Returns:
bool
Location:
starts @ line 1514, ends @ line 1517

GetThreatLevel

function GetThreatLevel() : int
Returns:
int
Overrides member from: CActor
Location:
starts @ line 1973, ends @ line 1976

GetThrowItemMode

function GetThrowItemMode() : bool
Returns:
bool
Location:
starts @ line 2001, ends @ line 2004

GetTutorialInputHandler

public function GetTutorialInputHandler() : W3PlayerTutorialInput
Returns:
W3PlayerTutorialInput
Location:
starts @ line 282, ends @ line 285

GetVehicleCachedSign

public function GetVehicleCachedSign() : ESignType
Returns:
ESignType
Location:
starts @ line 1984, ends @ line 1984

HAXCheckIfNew

public function HAXCheckIfNew(checkGUID : CGUID) : bool
Parameters:
checkGUID : CGUID
Returns:
bool
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:
bool
Location:
starts @ line 337, ends @ line 344

IsActionBlockedBy

public function IsActionBlockedBy(action : EInputActionBlock, sourceName : name) : bool
Parameters:
action : EInputActionBlock
sourceName : name
Returns:
bool
Location:
starts @ line 346, ends @ line 353

IsActorLockedToTarget

public function IsActorLockedToTarget() : bool
Returns:
bool
Location:
starts @ line 871, ends @ line 874

IsAdaptiveBalance

function IsAdaptiveBalance() : bool
Returns:
bool
Location:
starts @ line 191, ends @ line 194

IsCameraLockedToTarget

public function IsCameraLockedToTarget() : bool
Returns:
bool
Location:
starts @ line 882, ends @ line 885

IsCastingSign

function IsCastingSign() : bool
Returns:
bool
Location:
starts @ line 2016, ends @ line 2019

IsCurrentSignChanneled

function IsCurrentSignChanneled() : bool
Returns:
bool
Location:
starts @ line 2021, ends @ line 2024

IsHardLockEnabled

public function IsHardLockEnabled() : bool
Returns:
bool
Location:
starts @ line 900, ends @ line 903

IsInAgony

public function IsInAgony() : bool
Returns:
bool
Overrides member from: CActor
Location:
starts @ line 2230, ends @ line 2230

IsInCombatAction

function IsInCombatAction() : bool
Returns:
bool
Location:
starts @ line 1376, ends @ line 1379

IsInCombatActionFriendly

function IsInCombatActionFriendly() : bool
Returns:
bool
Location:
starts @ line 1381, ends @ line 1384

IsInCombatAction_SpecialAttack

public function IsInCombatAction_SpecialAttack() : bool
Returns:
bool
Location:
starts @ line 1386, ends @ line 1389

IsInCombatState

public function IsInCombatState() : bool
Returns:
bool
Location:
starts @ line 423, ends @ line 432

IsInHitAnim

function IsInHitAnim() : bool
Returns:
bool
Location:
starts @ line 1634, ends @ line 1637

IsInputHeadingReady

public function IsInputHeadingReady() : bool
Returns:
bool
Location:
starts @ line 535, ends @ line 538

IsKnockedUnconscious

public function IsKnockedUnconscious() : bool
Returns:
bool
Overrides member from: CActor
Location:
starts @ line 2237, ends @ line 2240

IsLockedToTarget

public function IsLockedToTarget() : bool
Returns:
bool
Location:
starts @ line 887, ends @ line 890

IsLookInputIgnored

function IsLookInputIgnored() : bool
Returns:
bool
Location:
starts @ line 524, ends @ line 527

IsRunPressed

function IsRunPressed() : bool
Returns:
bool
Location:
starts @ line 1100, ends @ line 1104

IsSailing

function IsSailing() : bool
Returns:
bool
Location:
starts @ line 2245, ends @ line 2248

IsSprintActionPressed

public function IsSprintActionPressed() : bool
Returns:
bool
Location:
starts @ line 1301, ends @ line 1304

IsUITakeInput

public function IsUITakeInput() : bool
Returns:
bool
Location:
starts @ line 851, ends @ line 854

IsWeaponActionAllowed

public function IsWeaponActionAllowed(weapon : EPlayerWeapon) : bool
Parameters:
weapon : EPlayerWeapon
Returns:
bool
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

function PlayerCanComment() : bool
Returns:
bool
Location:
starts @ line 1898, ends @ line 1904

PlayerCanPlayMonsterCommentary

function PlayerCanPlayMonsterCommentary() : bool
Returns:
bool
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:
bool
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

function SetBIsInputAllowed(flag : bool, sourceName : name)
Parameters:
flag : bool
sourceName : name
Location:
starts @ line 1610, ends @ line 1622

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)
Parameters:
flag : bool
Overrides member from: CActor
Location:
starts @ line 1587, ends @ line 1601

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

public function SetManualControl(movement : bool, camera : bool)
Parameters:
movement : bool
camera : bool
Location:
starts @ line 1351, ends @ line 1359

SetShowHud

public function SetShowHud(value : bool) : void
Parameters:
value : bool
Returns:
void
Location:
starts @ line 2128, ends @ line 2131

SetSprintActionPressed

function SetSprintActionPressed(enable : bool, optional dontClearTimeStamp : bool)
Parameters:
enable : bool
optional dontClearTimeStamp : bool
Location:
starts @ line 1109, ends @ line 1114

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:
array<SInputActionLock>
Location:
starts @ line 307, ends @ line 317

UnblockAction

public function UnblockAction(action : EInputActionBlock, sourceName : name) : bool
Parameters:
action : EInputActionBlock
sourceName : name
Returns:
bool
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:
bool
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:
bool
Location:
starts @ line 1460, ends @ line 1480

ProcessLAxisCaching

protected function ProcessLAxisCaching()
Location:
starts @ line 685, ends @ line 726

ProcessLockTargetSelectionInput

protected function ProcessLockTargetSelectionInput(rightStickVector : Vector, rawLengthR : float) : bool
Parameters:
rightStickVector : Vector
rawLengthR : float
Returns:
bool
Location:
starts @ line 740, ends @ line 824

SetAbilityManager

protected function SetAbilityManager()
Overrides member from: CActor
Location:
starts @ line 442, ends @ line 445

ShouldDrainStaminaWhileSprinting

protected function ShouldDrainStaminaWhileSprinting() : bool
Returns:
bool
Location:
starts @ line 1253, ends @ line 1267

ShouldUseStaminaWhileSprinting

protected function ShouldUseStaminaWhileSprinting() : bool
Returns:
bool
Location:
starts @ line 1269, ends @ line 1272

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

event OnDamageFromBoids(damage : float)
Parameters:
damage : float
Location:
starts @ line 448

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

event OnDiveInput(divePitch : float)
Parameters:
divePitch : float
Location:
starts @ line 1810

OnDiving

event OnDiving(dir : int)
Parameters:
dir : int
Location:
starts @ line 1801

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