This is a list of all global functions marked with the storyscene keyword. Presumably these functions are used during dialog or cutscenes.
BooksMinigameInit
storyscene function BooksMinigameInit(player : CStoryScenePlayer, minigameTag : name)
- Parameters:
- player : CStoryScenePlayer
- minigameTag : name
- Path:
- /game/quests/questCustomScripts.ws
BooksMinigameSwitch
storyscene function BooksMinigameSwitch(player : CStoryScenePlayer, minigameTag : name, slotNumber : int, direction : EBookDirection)
- Parameters:
- player : CStoryScenePlayer
- minigameTag : name
- slotNumber : int
- direction : EBookDirection
- Path:
- /game/quests/questCustomScripts.ws
SoundEventScene
storyscene function SoundEventScene(player : CStoryScenePlayer, eventName : string, saveBehavior : ESoundEventSaveBehavior)
- Parameters:
- player : CStoryScenePlayer
- eventName : string
- saveBehavior : ESoundEventSaveBehavior
- Path:
- /game/scenes/scene_functions.ws
BarberSetupScene
storyscene function BarberSetupScene(player : CStoryScenePlayer)
- Parameters:
- player : CStoryScenePlayer
- Path:
- /game/scenes/scene_functions.ws
SetFinalboardQuest
storyscene function SetFinalboardQuest(player : CStoryScenePlayer, isFinalboard : bool)
- Parameters:
- player : CStoryScenePlayer
- isFinalboard : bool
- Path:
- /game/scenes/scene_functions.ws
SetGeraltHair
latent storyscene function SetGeraltHair(player : CStoryScenePlayer, hairstyleName : name)
- Parameters:
- player : CStoryScenePlayer
- hairstyleName : name
- Path:
- /game/scenes/scene_functions.ws
ShopQuestItemManager
latent storyscene function ShopQuestItemManager(player : CStoryScenePlayer, merchantTag : name, questItems : array<shopQuestItemDef>)
- Parameters:
- player : CStoryScenePlayer
- merchantTag : name
- questItems : array<shopQuestItemDef>
- Path:
- /game/scenes/scene_functions.ws
EnableTalkComponent
storyscene function EnableTalkComponent(player : CStoryScenePlayer, shouldBeEnabled : bool, actorTag : name)
- Parameters:
- player : CStoryScenePlayer
- shouldBeEnabled : bool
- actorTag : name
- Path:
- /game/scenes/scene_functions.ws
ShowCraftingPanel
latent storyscene function ShowCraftingPanel(player : CStoryScenePlayer, crafterTag : CName)
- Parameters:
- player : CStoryScenePlayer
- crafterTag : CName
- Path:
- /game/scenes/scene_functions.ws
ShowEnchanterPanel
latent storyscene function ShowEnchanterPanel(player : CStoryScenePlayer, enchanterTag : CName)
- Parameters:
- player : CStoryScenePlayer
- enchanterTag : CName
- Path:
- /game/scenes/scene_functions.ws
ShowMeGoods
latent storyscene function ShowMeGoods(player : CStoryScenePlayer, merchantTag : CName)
- Parameters:
- player : CStoryScenePlayer
- merchantTag : CName
- Path:
- /game/scenes/scene_functions.ws
OpenContainer
latent storyscene function OpenContainer(player : CStoryScenePlayer, npcTag : CName, optional tagsFilter : array<name>)
- Parameters:
- player : CStoryScenePlayer
- npcTag : CName
- optional tagsFilter : array<name>
- Path:
- /game/scenes/scene_functions.ws
SetRewardModifierScene
storyscene function SetRewardModifierScene(player : CStoryScenePlayer, rewardName : name, modifer : float, onlyIfDoesntExist : bool, multiply : bool, notBaseMonsterHuntReward : bool) : void
- Parameters:
- player : CStoryScenePlayer
- rewardName : name
- modifer : float
- onlyIfDoesntExist : bool
- multiply : bool
- notBaseMonsterHuntReward : bool
- Returns:
- void
- Path:
- /game/scenes/scene_functions.ws
GiveRewardToPlayer
storyscene function GiveRewardToPlayer(player : CStoryScenePlayer, rewardName : name) : void
- Parameters:
- player : CStoryScenePlayer
- rewardName : name
- Returns:
- void
- Path:
- /game/scenes/scene_functions.ws
NegotiateMonsterHunt
latent storyscene function NegotiateMonsterHunt(player : CStoryScenePlayer, rewardName : name, questUniqueScriptTag : CName, alwaysSuccessful : bool) : ENegotiationResult
- Parameters:
- player : CStoryScenePlayer
- rewardName : name
- questUniqueScriptTag : CName
- alwaysSuccessful : bool
- Returns:
- ENegotiationResult
- Path:
- /game/scenes/scene_functions.ws
NegotiateLowestPriceScene
latent storyscene function NegotiateLowestPriceScene(player : CStoryScenePlayer, controlFact : string, bestBarginModifier : float, lowestPriceModifier : float) : ENegotiationResult
- Parameters:
- player : CStoryScenePlayer
- controlFact : string
- bestBarginModifier : float
- lowestPriceModifier : float
- Returns:
- ENegotiationResult
- Path:
- /game/scenes/scene_functions.ws
PlaceBet
latent storyscene function PlaceBet(player : CStoryScenePlayer, rewardName : name, startingBetPercentage : int)
- Parameters:
- player : CStoryScenePlayer
- rewardName : name
- startingBetPercentage : int
- Path:
- /game/scenes/scene_functions.ws
StorePlayerItems
storyscene function StorePlayerItems(player : CStoryScenePlayer, merchantTag : CName, storageTag : CName) : bool
- Parameters:
- player : CStoryScenePlayer
- merchantTag : CName
- storageTag : CName
- Returns:
- bool
- Path:
- /game/scenes/scene_functions.ws
AddFact_S
storyscene function AddFact_S(player : CStoryScenePlayer, factName : string, value : int, validFor : int)
- Parameters:
- player : CStoryScenePlayer
- factName : string
- value : int
- validFor : int
- Path:
- /game/scenes/scene_functions.ws
RemoveFact_S
storyscene function RemoveFact_S(player : CStoryScenePlayer, factId : string)
- Parameters:
- player : CStoryScenePlayer
- factId : string
- Path:
- /game/scenes/scene_functions.ws
ShaveGeralt
latent storyscene function ShaveGeralt(player : CStoryScenePlayer)
- Parameters:
- player : CStoryScenePlayer
- Path:
- /game/scenes/scene_functions.ws
SetGeraltBeard
latent storyscene function SetGeraltBeard(player : CStoryScenePlayer, maxBeard : bool, optional stage : int)
- Parameters:
- player : CStoryScenePlayer
- maxBeard : bool
- optional stage : int
- Path:
- /game/scenes/scene_functions.ws
SetTattoo
storyscene function SetTattoo(player : CStoryScenePlayer, hasTattoo : bool)
- Parameters:
- player : CStoryScenePlayer
- hasTattoo : bool
- Path:
- /game/scenes/scene_functions.ws
BlockBeardGrowth
storyscene function BlockBeardGrowth(player : CStoryScenePlayer, optional block : bool)
- Parameters:
- player : CStoryScenePlayer
- optional block : bool
- Path:
- /game/scenes/scene_functions.ws
SetCustomHead
storyscene function SetCustomHead(player : CStoryScenePlayer, head : name, barberSystem : bool)
- Parameters:
- player : CStoryScenePlayer
- head : name
- barberSystem : bool
- Path:
- /game/scenes/scene_functions.ws
RemoveCustomHead
storyscene function RemoveCustomHead(player : CStoryScenePlayer, barberSystem : bool)
- Parameters:
- player : CStoryScenePlayer
- barberSystem : bool
- Path:
- /game/scenes/scene_functions.ws
AddItemOnNPC_S
storyscene function AddItemOnNPC_S(player : CStoryScenePlayer, npc : CName, item_name : CName, optional quantity : int, dontInformGUI : bool)
- Parameters:
- player : CStoryScenePlayer
- npc : CName
- item_name : CName
- optional quantity : int
- dontInformGUI : bool
- Path:
- /game/scenes/scene_functions.ws
RemoveItemOnNPC_S
storyscene function RemoveItemOnNPC_S(player : CStoryScenePlayer, npc : name, item_name : name, item_category : name, item_tag : name, optional quantity : int)
- Parameters:
- player : CStoryScenePlayer
- npc : name
- item_name : name
- item_category : name
- item_tag : name
- optional quantity : int
- Path:
- /game/scenes/scene_functions.ws
EquipItemOnNPC_S
storyscene function EquipItemOnNPC_S(player : CStoryScenePlayer, npc : CName, itemName : CName, optional unequip : bool, optional toHand : bool)
- Parameters:
- player : CStoryScenePlayer
- npc : CName
- itemName : CName
- optional unequip : bool
- optional toHand : bool
- Path:
- /game/scenes/scene_functions.ws
OpenWorldMap
latent storyscene function OpenWorldMap(player : CStoryScenePlayer) : bool
- Parameters:
- player : CStoryScenePlayer
- Returns:
- bool
- Path:
- /game/scenes/scene_functions.ws
EnableFastTravelPin
storyscene function EnableFastTravelPin(player : CStoryScenePlayer, pinTag : name, enable : bool)
- Parameters:
- player : CStoryScenePlayer
- pinTag : name
- enable : bool
- Path:
- /game/scenes/scene_functions.ws
AppearanceChange_scene
storyscene function AppearanceChange_scene(player : CStoryScenePlayer, opponentTag : name, appearanceName : name)
- Parameters:
- player : CStoryScenePlayer
- opponentTag : name
- appearanceName : name
- Path:
- /game/scenes/scene_functions.ws
TutorialMessage_scene
storyscene function TutorialMessage_scene(player : CStoryScenePlayer, message : STutorialMessage)
- Parameters:
- player : CStoryScenePlayer
- message : STutorialMessage
- Path:
- /game/scenes/scene_functions.ws
TutorialHintHide_scene
storyscene function TutorialHintHide_scene(player : CStoryScenePlayer, journalEntry : name)
- Parameters:
- player : CStoryScenePlayer
- journalEntry : name
- Path:
- /game/scenes/scene_functions.ws
DoorManager
storyscene function DoorManager(player : CStoryScenePlayer, tag : name, newState : EDoorQuestState, optional keyItemName : name, optional removeKeyOnUse : bool)
- Parameters:
- player : CStoryScenePlayer
- tag : name
- newState : EDoorQuestState
- optional keyItemName : name
- optional removeKeyOnUse : bool
- Path:
- /game/scenes/scene_functions.ws
CollectItems
latent storyscene function CollectItems(player : CStoryScenePlayer, collectorTag : name, items : array<name>, uniqueTransactionId : string, keepItemsInContainer : bool, optional filterTagsList : array<name>) : ECollectItemsRes
- Parameters:
- player : CStoryScenePlayer
- collectorTag : name
- items : array<name>
- uniqueTransactionId : string
- keepItemsInContainer : bool
- optional filterTagsList : array<name>
- Returns:
- ECollectItemsRes
- Path:
- /game/scenes/scene_functions.ws
CollectItemsCustom
latent storyscene function CollectItemsCustom(player : CStoryScenePlayer, collectorTag : name, items : array<name>, uniqueTransactionId : string, keepItemsInContainer : bool, optional filterTagsList : array<name>) : ECollectItemsCustomRes
- Parameters:
- player : CStoryScenePlayer
- collectorTag : name
- items : array<name>
- uniqueTransactionId : string
- keepItemsInContainer : bool
- optional filterTagsList : array<name>
- Returns:
- ECollectItemsCustomRes
- Path:
- /game/scenes/scene_functions.ws
TakeMoneyScene
storyscene function TakeMoneyScene(player : CStoryScenePlayer, money : int, dontPlaySound : bool)
- Parameters:
- player : CStoryScenePlayer
- money : int
- dontPlaySound : bool
- Path:
- /game/scenes/scene_functions.ws