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!
ISerializable > IScriptable > CObject > CNode > CEntity > CPeristentEntity
Public Functions
AddAbility
AddAbilityMultiple
AddAnimEventCallback
AddAnimEventChildCallback
AddCutsceneForbiddenFX
public function AddCutsceneForbiddenFX(fx : name)
- Parameters:
- fx : name
- Location:
- starts @ line 288, ends @ line 294
AddSignHitFacts
function AddSignHitFacts(sign : W3SignProjectile, signType : string)
- Parameters:
- sign : W3SignProjectile
- signType : string
- Location:
- starts @ line 341, ends @ line 344
AddTag
public function AddTag(tag : name)
ApplyFallingDamage
CanShowFocusInteractionIcon
public function CanShowFocusInteractionIcon() : bool
- Returns:
- Location:
- starts @ line 635, ends @ line 638
EnableVisualDebug
import final function EnableVisualDebug(flag : EShowFlags, enable : bool)
- Parameters:
- flag : EShowFlags
- enable : bool
- Location:
- starts @ line 140, ends @ line 140
FocusEffectOff
function FocusEffectOff()
- Location:
- starts @ line 281, ends @ line 284
GetAbilityCount
GetAllAttributes
GetDisplayName
GetFocusActionName
public function GetFocusActionName() : name
- Returns:
- Location:
- starts @ line 624, ends @ line 633
GetFocusModeSoundEffectName
GetFocusModeVisibility
import final function GetFocusModeVisibility() : EFocusModeVisibility
- Returns:
- EFocusModeVisibility
- Location:
- starts @ line 130, ends @ line 130
GetGameplayEntityParam
import final function GetGameplayEntityParam(className : name) : CGameplayEntityParam
- Parameters:
- className : name
- Returns:
- Location:
- starts @ line 100, ends @ line 100
GetGameplayInfoCache
import final function GetGameplayInfoCache(type : EGameplayInfoCacheType) : bool
- Parameters:
- type : EGameplayInfoCacheType
- Returns:
- Location:
- starts @ line 127, ends @ line 127
GetInteractionData
GetInventory
import final function GetInventory() : CInventoryComponent
- Returns:
- Location:
- starts @ line 72, ends @ line 72
GetPropertyAnimationInstanceTime
GetPropertyAnimationLength
GetPropertyAnimationTransformAt
GetSfxTag
import final function GetSfxTag() : CName
- Returns:
- CName
- Location:
- starts @ line 112, ends @ line 112
GetStorageBounds
import function GetStorageBounds(out box : Box)
- Parameters:
- out box : Box
- Location:
- starts @ line 115, ends @ line 115
HasAbility
IsAlive
IsHighlighted
IsVehicle
PlayFocusSoundVisualEffect
function PlayFocusSoundVisualEffect(effectName : name)
- Parameters:
- effectName : name
- Location:
- starts @ line 553, ends @ line 576
PlayPropertyAnimation
RemoveAbility
public function RemoveAbility(abilityName : name)
- Parameters:
- abilityName : name
- Location:
- starts @ line 223, ends @ line 223
RemoveAbilityAll
public function RemoveAbilityAll(abilityName : name)
- Parameters:
- abilityName : name
- Location:
- starts @ line 226, ends @ line 226
RemoveAbilityMultiple
RemoveAnimEventCallback
import final function RemoveAnimEventCallback(eventName : name)
- Parameters:
- eventName : name
- Location:
- starts @ line 105, ends @ line 105
RemoveAnimEventChildCallback
RewindPropertyAnimation
SenseMagic
function SenseMagic()
- Location:
- starts @ line 331, ends @ line 339
SetFocusModeSoundEffectType
public function SetFocusModeSoundEffectType(type : EFocusModeSoundEffectType)
- Parameters:
- type : EFocusModeSoundEffectType
- Location:
- starts @ line 578, ends @ line 596
SetFocusModeVisibility
SetHighlighted
public function SetHighlighted(b : bool)
- Parameters:
- b : bool
- Location:
- starts @ line 304, ends @ line 307
ShouldBlockGameplayActionsOnInteraction
public function ShouldBlockGameplayActionsOnInteraction() : bool
- Returns:
- Location:
- starts @ line 314, ends @ line 317
StopCutsceneForbiddenFXs
public function StopCutsceneForbiddenFXs()
- Location:
- starts @ line 295, ends @ line 302
StopPropertyAnimation
Public Vars
aimVector
import var aimVector : Vector
- Location:
- defined @ line 142
focusModeSoundEffectType
public var focusModeSoundEffectType : EFocusModeSoundEffectType
- Location:
- defined @ line 147
focusSoundVisualEffectBoneName
var focusSoundVisualEffectBoneName : name
- Location:
- defined @ line 159
highlighted
public var highlighted : bool
- Location:
- defined @ line 145
iconOffset
editable var iconOffset : Vector
- Location:
- defined @ line 143
isColorBlindMode
var isColorBlindMode : bool
- Location:
- defined @ line 152
isHighlightedByMedallion
editable var isHighlightedByMedallion : bool
- Location:
- defined @ line 162
isMagicalObject
editable var isMagicalObject : bool
- Location:
- defined @ line 163
isPlayingFocusSound
var isPlayingFocusSound : bool
- Location:
- defined @ line 149
maxLootParamNumber
editable var maxLootParamNumber : int
- Location:
- defined @ line 70
minLootParamNumber
editable var minLootParamNumber : int
- Location:
- defined @ line 69
soundEntityGender
editable var soundEntityGender : string
- Location:
- defined @ line 171
soundEntityName
editable var soundEntityName : string
- Location:
- defined @ line 170
soundEntitySet
editable var soundEntitySet : string
- Location:
- defined @ line 172
Protected Functions
GetCharacterStats
import protected final function GetCharacterStats() : CCharacterStats
- Returns:
- Location:
- starts @ line 73, ends @ line 73
WhenFallen
Event Handlers
OnAardHit
event OnAardHit(sign : W3AardProjectile)
- Parameters:
- sign : W3AardProjectile
- Location:
- starts @ line 356
OnAxiiHit
event OnAxiiHit(sign : W3AxiiProjectile)
- Parameters:
- sign : W3AxiiProjectile
- Location:
- starts @ line 415
OnBoltHit
event OnBoltHit()
- Location:
- starts @ line 350
OnDamageFromFalling
event OnDamageFromFalling(activator : CComponent, fallingDistance : float, fallingHeightDiff : float)
- Parameters:
- activator : CComponent
- fallingDistance : float
- fallingHeightDiff : float
- Location:
- starts @ line 486
OnDamageFromJump
event OnDamageFromJump(activator : CComponent, jumpDistance : float, jumpHeightDiff : float)
- Parameters:
- activator : CComponent
- jumpDistance : float
- jumpHeightDiff : float
- Location:
- starts @ line 482
OnDestroyed
event OnDestroyed()
- Location:
- starts @ line 192
OnFireHit
event OnFireHit(source : CGameplayEntity)
- Parameters:
- source : CGameplayEntity
- Location:
- starts @ line 439
OnFocusModeSound
OnFrostHit
event OnFrostHit(source : CGameplayEntity)
- Parameters:
- source : CGameplayEntity
- Location:
- starts @ line 420
OnGameplayPropertyChanged
event OnGameplayPropertyChanged(propertyName : name)
- Parameters:
- propertyName : name
- Location:
- starts @ line 177
OnIgniHit
event OnIgniHit(sign : W3IgniProjectile)
- Parameters:
- sign : W3IgniProjectile
- Location:
- starts @ line 391
OnItemGiven
event OnItemGiven(data : SItemChangedData)
- Parameters:
- data : SItemChangedData
- Location:
- starts @ line 323
OnItemTaken
event OnItemTaken(itemId : SItemUniqueId, quantity : int)
- Parameters:
- itemId : SItemUniqueId
- quantity : int
- Location:
- starts @ line 326
OnPlayerActionEnd
event OnPlayerActionEnd()
- Location:
- starts @ line 197
OnPlayerActionStartFinished
event OnPlayerActionStartFinished()
- Location:
- starts @ line 202
OnPreAttackEvent
event OnPreAttackEvent(animEventName : name, animEventType : EAnimationEventType, data : CPreAttackEventData, animInfo : SAnimationEventAnimInfo)
- Parameters:
- animEventName : name
- animEventType : EAnimationEventType
- data : CPreAttackEventData
- animInfo : SAnimationEventAnimInfo
- Location:
- starts @ line 212
OnRootHit
event OnRootHit()
- Location:
- starts @ line 471
OnSpawned
event OnSpawned(spawnData : SEntitySpawnData)
- Parameters:
- spawnData : SEntitySpawnData
- Overrides member from: CPeristentEntity
- Location:
- starts @ line 180
OnSpawnedEditor
event OnSpawnedEditor(spawnData : SEntitySpawnData)
- Parameters:
- spawnData : SEntitySpawnData
- Location:
- starts @ line 82
OnSyncAnimEnd
event OnSyncAnimEnd()
- Location:
- starts @ line 207
OnWeaponHit
event OnWeaponHit(act : W3DamageAction)
- Parameters:
- act : W3DamageAction
- Location:
- starts @ line 346
OnYrdenHit
event OnYrdenHit(caster : CGameplayEntity)
- Parameters:
- caster : CGameplayEntity
- Location:
- starts @ line 464
Uninteresting Sub-Classes
These sub-classes have no public/protected members that are not overrides of their parent and have been merged here.
W3IceWall
class W3IceWall extends CGameplayEntity
- Location:
- /game/gameplay/interactive/iceWall.ws starts @ line 9, ends @ line 18
W3ShowDisplayNameTrigger
class W3ShowDisplayNameTrigger extends CGameplayEntity
- Location:
- /game/gameplay/gameplay_triggers/showDisplayNameTrigger.ws starts @ line 10, ends @ line 13