Witcher Wiki
Witcher Wiki
Advertisement
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!
W3UsableItem
Signature
class W3UsableItem extends CItemEntity
Parent
CItemEntity
Sub-classes
W3LightSource
W3QuestUsableItem
Version
1.12
Path
/game/gameplay/items/itemEntity.ws

ISerializable > IScriptable > CObject > CNode > CEntity > CItemEntity

Public Functions

SetVisibility

function SetVisibility(isVisible : bool)
Parameters:
isVisible : bool
Location:
starts @ line 182, ends @ line 199

Public Vars

blockedActions

editable var blockedActions : array<EInputActionBlock>
Location:
defined @ line 144

itemType

editable var itemType : EUsableItemType
Location:
defined @ line 143

wasOnHiddenCalled

var wasOnHiddenCalled : bool
Location:
defined @ line 145

Event Handlers

OnDestroyed

event OnDestroyed()
Location:
starts @ line 150

OnHidden

event OnHidden(hiddenBy : CEntity)
Parameters:
hiddenBy : CEntity
Location:
starts @ line 173

OnUsed

event OnUsed(usedBy : CEntity)
Parameters:
usedBy : CEntity
Location:
starts @ line 157

Uninteresting Sub-Classes

These sub-classes have no public/protected members that are not overrides of their parent and have been merged here.

W3LightSource

class W3LightSource extends W3UsableItem
Location:
/game/gameplay/items/itemEntity.ws starts @ line 202, ends @ line 225
Advertisement