Adventure Creator  1.65.2
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.EventManager Class Reference
Inheritance diagram for AC.EventManager:

Public Member Functions

delegate void Delegate_StartSpeech (AC.Char speakingCharacter, string speechText, int lineID)
 
delegate void Delegate_StopSpeech (AC.Char speakingCharacter)
 
delegate void Delegate_SpeechToken (AC.Char speakingCharacter, int lineID, string tokenKey, string tokenValue)
 
void Call_OnStartSpeech (AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnStartSpeech event. More...
 
void Call_OnStopSpeech (AC.Char speakingCharacter)
 Triggers the OnStopSpeech event. More...
 
void Call_OnStartSpeechScroll (AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnStartSpeechScroll event. More...
 
void Call_OnEndSpeechScroll (AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnEndSpeechScroll event. More...
 
void Call_OnCompleteSpeechScroll (AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnCompleteSpeechScroll event. More...
 
void Call_OnSpeechToken (AC.Char speakingCharacter, int lineID, string tokenKey, string tokenValue)
 Triggers the OnSpeechToken event. More...
 
delegate void Delegate_ChangeGameState (GameState gameState)
 
void Call_OnChangeGameState (GameState oldGameState)
 Triggers the OnEnterGameState and OnExitGameState events. More...
 
delegate void Delegate_Conversation (Conversation conversation)
 
delegate void Delegate_ConversationChoice (Conversation conversation, int optionID)
 
void Call_OnStartConversation (Conversation conversation)
 Triggers the OnStartConversation event. More...
 
void Call_OnClickConversation (Conversation conversation, int optionID)
 Triggers the OnClickConversation event. More...
 
delegate void Delegate_ChangeHotspot (Hotspot hotspot)
 
delegate void Delegate_InteractHotspot (Hotspot hotspot, AC.Button button)
 
void Call_OnChangeHotspot (Hotspot hotspot, bool wasSelected)
 Triggers either the OnHotspotSelect or OnHotspotDeselect event. More...
 
void Call_OnInteractHotspot (Hotspot hotspot, AC.Button button)
 Triggers the OnHotspotInteract event. More...
 
void Call_OnDoubleClickHotspot (Hotspot hotspot)
 Triggers the OnDoubleClickHotspot event, regardless of the Hotspot's doubleClickingHotspot variable. More...
 
void Call_OnTurnHotspot (Hotspot hotspot, bool isOn)
 Triggers either the OnHotspotTurnOn or OnHotspotTurnOff event More...
 
delegate void Delegate_OnVariableChange (GVar variable)
 
void Call_OnVariableChange (GVar _variable)
 Triggers the OnVariableChange event. More...
 
void Call_OnDownloadVariable (GVar _variable)
 Triggers the OnDownloadVariable event. More...
 
void Call_OnUploadVariable (GVar _variable)
 Triggers the OnUploadVariable event. More...
 
delegate void Delegate_OnMenuElementClick (AC.Menu _menu, MenuElement _element, int _slot, int buttonPressed)
 
delegate void Delegate_OnMouseOverMenu (AC.Menu _menu, MenuElement _element, int _slot)
 
delegate void Delegate_OnMenuElementVisiblity (MenuElement _element)
 
delegate void Delegate_OnMenuElementShift (MenuElement _element, AC_ShiftInventory shiftType)
 
delegate void Delegate_OnMenuTurnOn (AC.Menu _menu, bool isInstant)
 
delegate void Delegate_OnUpdateDragLine (Vector2 startScreenPosition, Vector2 endScreenPosition)
 
delegate void Delegate_OnSetHardwareCursor (Texture2D cursorTexture, Vector2 clickOffset)
 
delegate void Delegate_OnEnableInteractionMenus (Hotspot hotspot, InvItem invItem)
 
delegate void Delegate_OnModifyJournalPage (MenuJournal journal, JournalPage page, int index)
 
void Call_OnMenuElementClick (AC.Menu _menu, MenuElement _element, int _slot, int _buttonPressed)
 Triggers the OnMenuElementClick event. More...
 
void Call_OnMouseOverMenuElement (AC.Menu _menu, MenuElement _element, int _slot)
 Triggers the OnMouseOverMenuElement event. More...
 
void Call_OnMenuElementChangeVisibility (MenuElement _element)
 Triggers either the OnMenuElementShow or OnMenuElementHide events, depending on the state of the element's isVisible property. More...
 
void Call_OnMenuElementShift (MenuElement _element, AC_ShiftInventory shiftType)
 Triggers the OnMenuElementShift More...
 
void Call_OnGenerateMenus ()
 Triggers the OnGenerateMenus event.
 
void Call_OnMenuTurnOn (AC.Menu _menu, bool isInstant)
 Triggers the OnMenuTurnOn event. More...
 
void Call_OnMenuTurnOff (AC.Menu _menu, bool isInstant)
 Triggers the OnMenuTurnOff event. More...
 
void Call_OnUpdateDragLine (Vector2 startScreenPosition, Vector2 endScreenPosition)
 Updates the co-ordinates of the on-screen drag line if Touch Screen input is used, or the Movement method is Drag.</summary?

Parameters
startScreenPositionThe starting position, in screen co-ordinates, of the drag line. If no dragging is occuring, this will be equal to Vector2.zero
endScreenPositionThe ending position, in screen co-ordinates, of the drag line. If no dragging is occuring, this will be equal to Vector2.zero

 
void Call_OnSetHardwareCursor (Texture2D cursorTexture, Vector2 clickOffset)
 Triggers the OnSetCursor event. More...
 
void Call_OnEnableInteractionMenus (Hotspot hotspot, InvItem invItem)
 Triggers the OnEnableInteractionMenus event More...
 
void Call_OnModifyJournalPage (MenuJournal journal, JournalPage page, int index, bool wasAdded)
 Triggers either the OnJournalPageAdd or OnJournalPageRemove event More...
 
delegate void Delegate_Generic ()
 
delegate void Delegate_OnSwitchProfile (int profileID)
 
void Call_OnSave (FileAccessState fileAccessState)
 Triggers either the OnBeforeSaving, OnFinishSaving or OnFailSaving events. More...
 
void Call_OnLoad (FileAccessState fileAccessState)
 Triggers either the OnBeforeLoading, OnFinishLoading or OnFailLoading events. More...
 
void Call_OnImport (FileAccessState fileAccessState)
 Triggers either the OnBeforeImporting, OnFinishImporting or OnFailImporting events. More...
 
void Call_OnSwitchProfile (int profileID)
 Triggers the OnSwitchProfile event More...
 
delegate void Delegate_SetPlayer (Player player)
 
delegate void Delegate_OnCharacterEndPath (AC.Char character, Paths path)
 
delegate void Delegate_OnCharacterSetPath (AC.Char character, Paths path)
 
delegate void Delegate_SetHeadTurnTarget (AC.Char character, Transform headTurnTarget, Vector3 targetOffset, bool isInstant)
 
delegate void Delegate_ClearHeadTurnTarget (AC.Char character, bool isInstant)
 
delegate void Delegate_OnOccupyPlayerStart (Player player, PlayerStart playerStart)
 
void Call_OnSetPlayer (Player player)
 Triggers the OnSetPlayer event. More...
 
void Call_OnSetHeadTurnTarget (AC.Char character, Transform headTurnTarget, Vector3 targetOffset, bool isInstant)
 Triggers the OnSetHeadTurnTarget event. More...
 
void Call_OnClearHeadTurnTarget (AC.Char character, bool isInstant)
 Triggers the OnClearHeadTurnTarget event. More...
 
void Call_OnCharacterEndPath (AC.Char character, Paths path)
 Triggers the OnCharacterEndPath event. More...
 
void Call_OnCharacterSetPath (AC.Char character, Paths path)
 Triggers the OnCharacterSetPath event. More...
 
void Call_OnOccupyPlayerStart (Player player, PlayerStart playerStart)
 Triggers the OnOccupyPlayerStart event. More...
 
delegate void Delegate_ChangeInventory (InvItem invItem, int value)
 
delegate void Delegate_CombineInventory (InvItem invItem, InvItem invItem2)
 
delegate void Delegate_Inventory (InvItem _int)
 
delegate void Delegate_Container (Container container, ContainerItem containerItem)
 
delegate void Delegate_Crafting (Recipe recipe)
 
void Call_OnChangeInventory (InvItem invItem, InventoryEventType inventoryEventType, int amount=1)
 Triggers either the OnInventoryAdd, OnInventoryRemove, OnInventorySelect or OnInventoryDeselect events. More...
 
void Call_OnUseInventory (InvItem invItem, int iconID, InvItem combineItem=null)
 Triggers either the OnInventoryCombine or InventoryInteract events. More...
 
void Call_OnUseContainer (bool transferringToContainer, Container container, ContainerItem containerItem)
 Triggers either the OnContainerAdd or OnContainerRemove events. More...
 
void Call_OnUseContainerFail (Container container, ContainerItem containerItem)
 Triggers the OnContainerRemoveFail event. More...
 
void Call_OnCraftingSucceed (Recipe recipe)
 Triggers the OnCraftingSucceed event. More...
 
delegate void Delegate_OnMoveable (DragBase dragBase)
 
void Call_OnGrabMoveable (DragBase dragBase)
 Triggers the OnGrabMoveable event. More...
 
void Call_OnDropMoveable (DragBase dragBase)
 Triggers the OnDropMoveable event. More...
 
delegate void Delegate_OnSwitchCamera (_Camera fromCamera, _Camera toCamera, float transitionTime)
 
delegate void Delegate_OnShakeCamera (float intensity, float duration)
 
void Call_OnSwitchCamera (_Camera fromCamera, _Camera toCamera, float transitionTime)
 Triggers the OnSwitchCamera event. More...
 
void Call_OnShakeCamera (float intensity, float duration)
 Triggers the OnShakeCamera event. More...
 
delegate void Delegate_OnChangeLanguage (int language)
 
delegate void Delegate_OnChangeVolume (SoundType soundType, float volume)
 
delegate void Delegate_OnChangeSubtitles (bool showSubtitles)
 
void Call_OnChangeLanguage (int language)
 Triggers the OnChangeLanguage event. More...
 
void Call_OnChangeVolume (SoundType soundType, float volume)
 Triggers the OnChangeLanguage event. More...
 
void Call_OnChangeSubtitles (bool showSubtitles)
 Triggers the OnChangeSubtitles event. More...
 
delegate void Delegate_NoParameters ()
 
delegate void Delegate_AfterSceneChange (LoadingGame loadingGame)
 
delegate void Delegate_OnCompleteScenePreload (SceneInfo sceneInfo)
 
void Call_OnBeforeChangeScene ()
 Triggers the OnBeforeChangeScene event.
 
void Call_OnAfterChangeScene (LoadingGame loadingGame)
 Triggers the OnAfterChangeScene event. More...
 
void Call_OnStartScene ()
 Triggers the OnStartScene event.
 
void Call_OnCompleteScenePreload (SceneInfo preloadedSceneInfo)
 Triggers the OnCompleteScenePreload event. More...
 
delegate void Delegate_HandleDocument (Document document)
 
void Call_OnHandleDocument (Document document, bool isOpening)
 Triggers either the OnOpenDocument or OnCloseDocument events. More...
 
delegate void Delegate_OnPlaySoundtrack (int trackID, bool loop, float fadeTime, int startingSample)
 
delegate void Delegate_OnStopSoundtrack (float fadeTime)
 
void Call_OnPlaySoundtrack (int trackID, bool isMusic, bool loop, float fadeTime, int startingSample)
 Triggers either the OnPlayMusic or OnPlayAmbience events More...
 
void Call_OnStopSoundtrack (bool isMusic, float fadeTime)
 Triggers either the OnStopMusic or OnStopAmbience events More...
 
delegate void Delegate_OnBeginActionList (ActionList actionList, ActionListAsset actionListAsset, int startingIndex, bool isSkipping)
 
void Call_OnBeginActionList (ActionList actionList, ActionListAsset actionListAsset, int startingIndex, bool isSkipping)
 Triggers the OnBeginActionList event. More...
 

Static Public Attributes

static Delegate_ChangeHotspot OnHotspotSelect
 
static Delegate_ChangeHotspot OnHotspotDeselect
 
static Delegate_InteractHotspot OnHotspotInteract
 
static Delegate_ChangeHotspot OnDoubleClickHotspot
 
static Delegate_ChangeHotspot OnHotspotTurnOn
 
static Delegate_ChangeHotspot OnHotspotTurnOff
 
static Delegate_OnVariableChange OnVariableChange
 
static Delegate_OnVariableChange OnUploadVariable
 
static Delegate_OnVariableChange OnDownloadVariable
 
static Delegate_OnMenuElementClick OnMenuElementClick
 
static Delegate_OnMouseOverMenu OnMouseOverMenu
 
static Delegate_OnMenuElementVisiblity OnMenuElementShow
 
static Delegate_OnMenuElementVisiblity OnMenuElementHide
 
static Delegate_OnMenuElementShift OnMenuElementShift
 
static Delegate_Generic OnGenerateMenus
 
static Delegate_OnMenuTurnOn OnMenuTurnOn
 
static Delegate_OnMenuTurnOn OnMenuTurnOff
 
static Delegate_OnUpdateDragLine OnUpdateDragLine
 
static Delegate_OnSetHardwareCursor OnSetHardwareCursor
 
static Delegate_OnEnableInteractionMenus OnEnableInteractionMenus
 
static Delegate_OnModifyJournalPage OnJournalPageAdd
 
static Delegate_OnModifyJournalPage OnJournalPageRemove
 
static Delegate_Generic OnBeforeSaving
 
static Delegate_Generic OnFinishSaving
 
static Delegate_Generic OnFailSaving
 
static Delegate_Generic OnBeforeLoading
 
static Delegate_Generic OnFinishLoading
 
static Delegate_Generic OnFailLoading
 
static Delegate_Generic OnBeforeImporting
 
static Delegate_Generic OnFinishImporting
 
static Delegate_Generic OnFailImporting
 
static Delegate_OnSwitchProfile OnSwitchProfile
 
static Delegate_SetPlayer OnSetPlayer
 
static Delegate_OnCharacterEndPath OnCharacterEndPath
 
static Delegate_OnCharacterSetPath OnCharacterSetPath
 
static Delegate_SetHeadTurnTarget OnSetHeadTurnTarget
 
static Delegate_ClearHeadTurnTarget OnClearHeadTurnTarget
 
static Delegate_OnOccupyPlayerStart OnOccupyPlayerStart
 
static Delegate_ChangeInventory OnInventoryAdd
 
static Delegate_ChangeInventory OnInventoryRemove
 
static Delegate_Inventory OnInventorySelect
 
static Delegate_Inventory OnInventoryDeselect
 
static Delegate_ChangeInventory OnInventoryInteract
 
static Delegate_CombineInventory OnInventoryCombine
 
static Delegate_Container OnContainerAdd
 
static Delegate_Container OnContainerRemove
 
static Delegate_Container OnContainerRemoveFail
 
static Delegate_Crafting OnCraftingSucceed
 

Events

static Delegate_StartSpeech OnStartSpeech
 
static Delegate_StopSpeech OnStopSpeech
 
static Delegate_StartSpeech OnStartSpeechScroll
 
static Delegate_StartSpeech OnEndSpeechScroll
 
static Delegate_StartSpeech OnCompleteSpeechScroll
 
static Delegate_SpeechToken OnSpeechToken
 
static Delegate_ChangeGameState OnEnterGameState
 
static Delegate_ChangeGameState OnExitGameState
 
static Delegate_Conversation OnStartConversation
 
static Delegate_ConversationChoice OnClickConversation
 
static Delegate_OnMoveable OnGrabMoveable
 
static Delegate_OnMoveable OnDropMoveable
 
static Delegate_OnSwitchCamera OnSwitchCamera
 
static Delegate_OnShakeCamera OnShakeCamera
 
static Delegate_OnChangeLanguage OnChangeLanguage
 
static Delegate_OnChangeVolume OnChangeVolume
 
static Delegate_OnChangeSubtitles OnChangeSubtitles
 
static Delegate_NoParameters OnBeforeChangeScene
 
static Delegate_AfterSceneChange OnAfterChangeScene
 
static Delegate_NoParameters OnStartScene
 
static Delegate_OnCompleteScenePreload OnCompleteScenePreload
 
static Delegate_HandleDocument OnOpenDocument
 
static Delegate_HandleDocument OnCloseDocument
 
static Delegate_OnPlaySoundtrack OnPlayMusic
 
static Delegate_OnPlaySoundtrack OnPlayAmbience
 
static Delegate_OnStopSoundtrack OnStopMusic
 
static Delegate_OnStopSoundtrack OnStopAmbience
 
static Delegate_OnBeginActionList OnBeginActionList
 

Detailed Description

Handles events that are run at certain times during a game. They can be subscribed to by custom script, to aid with third-party integration.

Member Function Documentation

◆ Call_OnAfterChangeScene()

void AC.EventManager.Call_OnAfterChangeScene ( LoadingGame  loadingGame)

Triggers the OnAfterChangeScene event.

Parameters
loadingGameThe current 'loading' state (No, InSameScene, InNewScene, JustSwitchingPlayer

◆ Call_OnBeginActionList()

void AC.EventManager.Call_OnBeginActionList ( ActionList  actionList,
ActionListAsset  actionListAsset,
int  startingIndex,
bool  isSkipping 
)

Triggers the OnBeginActionList event.

Parameters
actionListThe ActionList that is running
actionListAssetThe ActionListAsset that the Actions come from, if an asset. If this is not null, then actionList is an instance of RuntimeActionList made specifically for the asset running at this moment
startingIndexThe index number to start from, out of the List of Actions. If zero, the ActionList will start from the beginning
isSkippingIf True, then the ActionList is being skipped, and will run instantly

◆ Call_OnChangeGameState()

void AC.EventManager.Call_OnChangeGameState ( GameState  oldGameState)

Triggers the OnEnterGameState and OnExitGameState events.

Parameters
oldGameStateThe previous GameState (Normal, Cutscene, DialogOptions, Paused)

◆ Call_OnChangeHotspot()

void AC.EventManager.Call_OnChangeHotspot ( Hotspot  hotspot,
bool  wasSelected 
)

Triggers either the OnHotspotSelect or OnHotspotDeselect event.

Parameters
hotspotThe Hotspot that was affected
wasSelectedIf True, the OnHotspotSelect event will be triggered. If False, the OnHotspotDeselect Event will be triggered.

◆ Call_OnChangeInventory()

void AC.EventManager.Call_OnChangeInventory ( InvItem  invItem,
InventoryEventType  inventoryEventType,
int  amount = 1 
)

Triggers either the OnInventoryAdd, OnInventoryRemove, OnInventorySelect or OnInventoryDeselect events.

Parameters
invItemThe inventory item that was manipulated
inventoryEventTypeHow the inventory item was manipulated (Add, Remove, Select, Deselect)
amountHow many instances of the inventory item were affected, if appropriate

◆ Call_OnChangeLanguage()

void AC.EventManager.Call_OnChangeLanguage ( int  language)

Triggers the OnChangeLanguage event.

Parameters
languageThe index number of the new language

◆ Call_OnChangeSubtitles()

void AC.EventManager.Call_OnChangeSubtitles ( bool  showSubtitles)

Triggers the OnChangeSubtitles event.

Parameters
showSubtitlesIf True, subtitles are now displayed.

◆ Call_OnChangeVolume()

void AC.EventManager.Call_OnChangeVolume ( SoundType  soundType,
float  volume 
)

Triggers the OnChangeLanguage event.

Parameters
soundTypeThe SoundType that was changed (Music, SFX, Speech)
volumeThe new volume

◆ Call_OnCharacterEndPath()

void AC.EventManager.Call_OnCharacterEndPath ( AC.Char  character,
Paths  path 
)

Triggers the OnCharacterEndPath event.

Parameters
characterThe character whose path has ended
pathThe Paths component that the character was following. If the character was pathfinding, this will be their own Paths component

◆ Call_OnCharacterSetPath()

void AC.EventManager.Call_OnCharacterSetPath ( AC.Char  character,
Paths  path 
)

Triggers the OnCharacterSetPath event.

Parameters
characterThe character whose path has been set
pathThe Paths component that the character is following. If the character is pathfinding, this will be their own Paths component

◆ Call_OnClearHeadTurnTarget()

void AC.EventManager.Call_OnClearHeadTurnTarget ( AC.Char  character,
bool  isInstant 
)

Triggers the OnClearHeadTurnTarget event.

Parameters
characterThe character who is no longer turning their head
isInstantIf True, the head stops turning instantly

◆ Call_OnClickConversation()

void AC.EventManager.Call_OnClickConversation ( Conversation  conversation,
int  optionID 
)

Triggers the OnClickConversation event.

Parameters
conversationThe Conversation that was interacted with
optionIDThe ID number of the conversation's clicked ButtonDialog

◆ Call_OnCompleteScenePreload()

void AC.EventManager.Call_OnCompleteScenePreload ( SceneInfo  preloadedSceneInfo)

Triggers the OnCompleteScenePreload event.

Parameters
preloadedSceneInfoA container for information about the scene that was preloaded

◆ Call_OnCompleteSpeechScroll()

void AC.EventManager.Call_OnCompleteSpeechScroll ( AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnCompleteSpeechScroll event.

Parameters
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnCraftingSucceed()

void AC.EventManager.Call_OnCraftingSucceed ( Recipe  recipe)

Triggers the OnCraftingSucceed event.

Parameters
recipeThe Recipe that was completed

◆ Call_OnDoubleClickHotspot()

void AC.EventManager.Call_OnDoubleClickHotspot ( Hotspot  hotspot)

Triggers the OnDoubleClickHotspot event, regardless of the Hotspot's doubleClickingHotspot variable.

Parameters
hotspotThe Hotspot that was double-clicked.

◆ Call_OnDownloadVariable()

void AC.EventManager.Call_OnDownloadVariable ( GVar  _variable)

Triggers the OnDownloadVariable event.

Parameters
_variableThe variable to download

◆ Call_OnDropMoveable()

void AC.EventManager.Call_OnDropMoveable ( DragBase  dragBase)

Triggers the OnDropMoveable event.

Parameters
dragBaseThe object being dropped

◆ Call_OnEnableInteractionMenus()

void AC.EventManager.Call_OnEnableInteractionMenus ( Hotspot  hotspot,
InvItem  invItem 
)

Triggers the OnEnableInteractionMenus event

Parameters
hotspotThe Hotspot for which Interaction menus were turned on for. Null if invItem is not.
invItemThe Inventory item for which Interaction menus were turned on for. Null if hotspot is not.

◆ Call_OnEndSpeechScroll()

void AC.EventManager.Call_OnEndSpeechScroll ( AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnEndSpeechScroll event.

Parameters
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnGrabMoveable()

void AC.EventManager.Call_OnGrabMoveable ( DragBase  dragBase)

Triggers the OnGrabMoveable event.

Parameters
dragBaseThe object being picked up

◆ Call_OnHandleDocument()

void AC.EventManager.Call_OnHandleDocument ( Document  document,
bool  isOpening 
)

Triggers either the OnOpenDocument or OnCloseDocument events.

Parameters
documentThe Document that is affected
isOpeningIf True, the Document was opened and OnOpenDocument is triggered. Otherwise, OnCloseDocument is triggered.

◆ Call_OnImport()

void AC.EventManager.Call_OnImport ( FileAccessState  fileAccessState)

Triggers either the OnBeforeImporting, OnFinishImporting or OnFailImporting events.

Parameters
fileAccessStateThe state of the file access (Before, After, Fail)

◆ Call_OnInteractHotspot()

void AC.EventManager.Call_OnInteractHotspot ( Hotspot  hotspot,
AC.Button  button 
)

Triggers the OnHotspotInteract event.

Parameters
hotspotThe Hotspot the was interacted with
buttonThe specific Button on the Hotspot that was interacted with. This will be null if the interaction is unhandled.

◆ Call_OnLoad()

void AC.EventManager.Call_OnLoad ( FileAccessState  fileAccessState)

Triggers either the OnBeforeLoading, OnFinishLoading or OnFailLoading events.

Parameters
fileAccessStateThe state of the file access (Before, After, Fail)

◆ Call_OnMenuElementChangeVisibility()

void AC.EventManager.Call_OnMenuElementChangeVisibility ( MenuElement  _element)

Triggers either the OnMenuElementShow or OnMenuElementHide events, depending on the state of the element's isVisible property.

Parameters
_elementThe MenuElement whose visibility has changed

◆ Call_OnMenuElementClick()

void AC.EventManager.Call_OnMenuElementClick ( AC.Menu  _menu,
MenuElement  _element,
int  _slot,
int  _buttonPressed 
)

Triggers the OnMenuElementClick event.

Parameters
_menuThe Menu that the clicked MenuElement is a part of
_elementThe MenuElement that was clicked on
_slotThe slot index that was clicked, if the MenuElement consists of multiple slots (0 otherwise)
_buttonPressedEquals 1 if a left-click, or 2 if a right-click

◆ Call_OnMenuElementShift()

void AC.EventManager.Call_OnMenuElementShift ( MenuElement  _element,
AC_ShiftInventory  shiftType 
)

Triggers the OnMenuElementShift

Parameters
_elementThe MenuElement whose slots have been shifted
shiftTypeThe direction in which the slots where shifted (ShiftLeft, ShiftRight)

◆ Call_OnMenuTurnOff()

void AC.EventManager.Call_OnMenuTurnOff ( AC.Menu  _menu,
bool  isInstant 
)

Triggers the OnMenuTurnOff event.

Parameters
_menuThe Menu that is being turned off
isInstantIf true, the transition is being skipped and the Menu is being turned off instantly

◆ Call_OnMenuTurnOn()

void AC.EventManager.Call_OnMenuTurnOn ( AC.Menu  _menu,
bool  isInstant 
)

Triggers the OnMenuTurnOn event.

Parameters
_menuThe Menu that is being turned on
isInstantIf true, the transition is being skipped and the Menu is being turned on instantly

◆ Call_OnModifyJournalPage()

void AC.EventManager.Call_OnModifyJournalPage ( MenuJournal  journal,
JournalPage  page,
int  index,
bool  wasAdded 
)

Triggers either the OnJournalPageAdd or OnJournalPageRemove event

Parameters
journalThe MenuJournal element that was modifiyed
pageThe JournalPage class that was modified
indexThe page index that was modified
wasAddedIf True, the page was added. If False, the page was removed

◆ Call_OnMouseOverMenuElement()

void AC.EventManager.Call_OnMouseOverMenuElement ( AC.Menu  _menu,
MenuElement  _element,
int  _slot 
)

Triggers the OnMouseOverMenuElement event.

Parameters
_menuThe Menu that the mouse is over
_elementThe MenuElement that the mouse is over
_slotThe slot index that the mouse is over, if the MenuElement consists of multiple slots (0 otherwise)

◆ Call_OnOccupyPlayerStart()

void AC.EventManager.Call_OnOccupyPlayerStart ( Player  player,
PlayerStart  playerStart 
)

Triggers the OnOccupyPlayerStart event.

Parameters
playerThe Player that was affected
playerStartThe PlayerStart that the Player has been set to occupy

◆ Call_OnPlaySoundtrack()

void AC.EventManager.Call_OnPlaySoundtrack ( int  trackID,
bool  isMusic,
bool  loop,
float  fadeTime,
int  startingSample 
)

Triggers either the OnPlayMusic or OnPlayAmbience events

Parameters
trackIDThe ID of the Music or Ambience track that is being played
isMusicIf True, the track is Music. If False, it is Ambience
loopIf True, the audio is looping
fadeTimeThe fade duration, in seconds
startingSampleThe point at which to start the new track

◆ Call_OnSave()

void AC.EventManager.Call_OnSave ( FileAccessState  fileAccessState)

Triggers either the OnBeforeSaving, OnFinishSaving or OnFailSaving events.

Parameters
fileAccessStateThe state of the file access (Before, After, Fail)

◆ Call_OnSetHardwareCursor()

void AC.EventManager.Call_OnSetHardwareCursor ( Texture2D  cursorTexture,
Vector2  clickOffset 
)

Triggers the OnSetCursor event.

Parameters
cursorTextureThe Texture2D that the Hardware cursor was set to
clickOffsetThe offset from the top-left to use as the target point

◆ Call_OnSetHeadTurnTarget()

void AC.EventManager.Call_OnSetHeadTurnTarget ( AC.Char  character,
Transform  headTurnTarget,
Vector3  targetOffset,
bool  isInstant 
)

Triggers the OnSetHeadTurnTarget event.

Parameters
characterThe character who is turning their head.
headTurnTargetThe Transform to look at
targetOffsetAn offset in world-space to look at, relative to the headTurnTarget transform
isInstantIf True, the head-turn snaps instantly

◆ Call_OnSetPlayer()

void AC.EventManager.Call_OnSetPlayer ( Player  player)

Triggers the OnSetPlayer event.

Parameters
playerThe new Player object

◆ Call_OnShakeCamera()

void AC.EventManager.Call_OnShakeCamera ( float  intensity,
float  duration 
)

Triggers the OnShakeCamera event.

Parameters
intensityThe intensity of the shake
durationThe duration, in seconds

◆ Call_OnSpeechToken()

void AC.EventManager.Call_OnSpeechToken ( AC.Char  speakingCharacter,
int  lineID,
string  tokenKey,
string  tokenValue 
)

Triggers the OnSpeechToken event.

Parameters
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
lineIDThe ID number of the speech line, as generated by the SpeechManager
tokenKeyThe token text to the left of the colon, i.e 'var'
tokenKeyThe token text to the right of the colon, i.e '2'

◆ Call_OnStartConversation()

void AC.EventManager.Call_OnStartConversation ( Conversation  conversation)

Triggers the OnStartConversation event.

Parameters
conversationThe Conversation that was started

◆ Call_OnStartSpeech()

void AC.EventManager.Call_OnStartSpeech ( AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnStartSpeech event.

Parameters
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnStartSpeechScroll()

void AC.EventManager.Call_OnStartSpeechScroll ( AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnStartSpeechScroll event.

Parameters
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnStopSoundtrack()

void AC.EventManager.Call_OnStopSoundtrack ( bool  isMusic,
float  fadeTime 
)

Triggers either the OnStopMusic or OnStopAmbience events

Parameters
isMusicIf True, the track is Music. If False, it is Ambience
fadeTimeThe fade duration, in seconds

◆ Call_OnStopSpeech()

void AC.EventManager.Call_OnStopSpeech ( AC.Char  speakingCharacter)

Triggers the OnStopSpeech event.

Parameters
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration

◆ Call_OnSwitchCamera()

void AC.EventManager.Call_OnSwitchCamera ( _Camera  fromCamera,
_Camera  toCamera,
float  transitionTime 
)

Triggers the OnSwitchCamera event.

Parameters
dragBaseThe object being picked up

◆ Call_OnSwitchProfile()

void AC.EventManager.Call_OnSwitchProfile ( int  profileID)

Triggers the OnSwitchProfile event

Parameters
profileIDThe ID number of the profile that was switched to

◆ Call_OnTurnHotspot()

void AC.EventManager.Call_OnTurnHotspot ( Hotspot  hotspot,
bool  isOn 
)

Triggers either the OnHotspotTurnOn or OnHotspotTurnOff event

Parameters
hotspotThe affected Hotspot
isOnIf True, OnHotspotTurnOn will be triggered. Otherwise, OnHotspotTurnOff will be triggered

◆ Call_OnUploadVariable()

void AC.EventManager.Call_OnUploadVariable ( GVar  _variable)

Triggers the OnUploadVariable event.

Parameters
_variableThe variable to upload

◆ Call_OnUseContainer()

void AC.EventManager.Call_OnUseContainer ( bool  transferringToContainer,
Container  container,
ContainerItem  containerItem 
)

Triggers either the OnContainerAdd or OnContainerRemove events.

Parameters
transferringToContainerIf True, an item is being added to a Container; otherwise, it is being removed
containerThe Container being manipulated
containerItemThe ContainerItem being moved to/from the Container

◆ Call_OnUseContainerFail()

void AC.EventManager.Call_OnUseContainerFail ( Container  container,
ContainerItem  containerItem 
)

Triggers the OnContainerRemoveFail event.

Parameters
containerThe Container being manipulated
containerItemThe ContainerItem that could not be removed from the Container

◆ Call_OnUseInventory()

void AC.EventManager.Call_OnUseInventory ( InvItem  invItem,
int  iconID,
InvItem  combineItem = null 
)

Triggers either the OnInventoryCombine or InventoryInteract events.

Parameters
iconIDThe ID number of the 'use' icon, as defined in CursorManager, if the item was used
combineItemThe other inventory item, if the item was combined with another

◆ Call_OnVariableChange()

void AC.EventManager.Call_OnVariableChange ( GVar  _variable)

Triggers the OnVariableChange event.

Parameters
_variableThe variable that was changed

◆ Delegate_AfterSceneChange()

delegate void AC.EventManager.Delegate_AfterSceneChange ( LoadingGame  loadingGame)

A delegate for the OnAfterSceneChange event

◆ Delegate_ChangeGameState()

delegate void AC.EventManager.Delegate_ChangeGameState ( GameState  gameState)

A delegate for the OnEnterGameState and OnExitGameState events

◆ Delegate_ChangeHotspot()

delegate void AC.EventManager.Delegate_ChangeHotspot ( Hotspot  hotspot)

A delegate for the OnHotspotSelect and OnHotspotDeselect events

◆ Delegate_ChangeInventory()

delegate void AC.EventManager.Delegate_ChangeInventory ( InvItem  invItem,
int  value 
)

A delegate for the OnInventoryAdd, OnInventoryRemove and OnInventoryInteract events

◆ Delegate_ClearHeadTurnTarget()

delegate void AC.EventManager.Delegate_ClearHeadTurnTarget ( AC.Char  character,
bool  isInstant 
)

A delegate for the OnClearHeadTurnTarget event

◆ Delegate_CombineInventory()

delegate void AC.EventManager.Delegate_CombineInventory ( InvItem  invItem,
InvItem  invItem2 
)

A delegate for the OnInventoryCombine events

◆ Delegate_Container()

delegate void AC.EventManager.Delegate_Container ( Container  container,
ContainerItem  containerItem 
)

A delegate for the OnContainerAdd and OnContainerRemove events

◆ Delegate_Conversation()

delegate void AC.EventManager.Delegate_Conversation ( Conversation  conversation)

A delegate for the OnStartConversation event

◆ Delegate_ConversationChoice()

delegate void AC.EventManager.Delegate_ConversationChoice ( Conversation  conversation,
int  optionID 
)

A delegate for the OnClickConversation event

◆ Delegate_Crafting()

delegate void AC.EventManager.Delegate_Crafting ( Recipe  recipe)

A delegate for the OnCraftingSucceed event

◆ Delegate_Generic()

delegate void AC.EventManager.Delegate_Generic ( )

A delegate for events that take no arguments and return null

◆ Delegate_HandleDocument()

delegate void AC.EventManager.Delegate_HandleDocument ( Document  document)

A delegate for the OnOpenDocument and OnCloseDocument events

◆ Delegate_InteractHotspot()

delegate void AC.EventManager.Delegate_InteractHotspot ( Hotspot  hotspot,
AC.Button  button 
)

A delegate for the OnHotspotInteract event

◆ Delegate_Inventory()

delegate void AC.EventManager.Delegate_Inventory ( InvItem  _int)

A delegate for the OnInventorySelect and OnInventoryDeselect events

◆ Delegate_NoParameters()

delegate void AC.EventManager.Delegate_NoParameters ( )

A delegate for the events that need no parameters

◆ Delegate_OnBeginActionList()

delegate void AC.EventManager.Delegate_OnBeginActionList ( ActionList  actionList,
ActionListAsset  actionListAsset,
int  startingIndex,
bool  isSkipping 
)

A delegate for the OnBeginActionList event

◆ Delegate_OnChangeLanguage()

delegate void AC.EventManager.Delegate_OnChangeLanguage ( int  language)

A delegate for the Delegate_OnChangeLanguage event

◆ Delegate_OnChangeSubtitles()

delegate void AC.EventManager.Delegate_OnChangeSubtitles ( bool  showSubtitles)

A delegate for the Delegate_OnChangeSubtitles event

◆ Delegate_OnChangeVolume()

delegate void AC.EventManager.Delegate_OnChangeVolume ( SoundType  soundType,
float  volume 
)

A delegate for the Delegate_OnChangeVolume event

◆ Delegate_OnCharacterEndPath()

delegate void AC.EventManager.Delegate_OnCharacterEndPath ( AC.Char  character,
Paths  path 
)

A delegate for the OnCharacterEndPath event

◆ Delegate_OnCharacterSetPath()

delegate void AC.EventManager.Delegate_OnCharacterSetPath ( AC.Char  character,
Paths  path 
)

A delegate for the OnCharacterSetPath event

◆ Delegate_OnCompleteScenePreload()

delegate void AC.EventManager.Delegate_OnCompleteScenePreload ( SceneInfo  sceneInfo)

A delegate for the OnCompleteScenePreload event

◆ Delegate_OnEnableInteractionMenus()

delegate void AC.EventManager.Delegate_OnEnableInteractionMenus ( Hotspot  hotspot,
InvItem  invItem 
)

A delegate for the OnEnableInteractionMenus event

◆ Delegate_OnMenuElementClick()

delegate void AC.EventManager.Delegate_OnMenuElementClick ( AC.Menu  _menu,
MenuElement  _element,
int  _slot,
int  buttonPressed 
)

A delegate for the OnMenuElementClick event

◆ Delegate_OnMenuElementShift()

delegate void AC.EventManager.Delegate_OnMenuElementShift ( MenuElement  _element,
AC_ShiftInventory  shiftType 
)

A delegate for the OnMenuElementShift event

◆ Delegate_OnMenuElementVisiblity()

delegate void AC.EventManager.Delegate_OnMenuElementVisiblity ( MenuElement  _element)

A delegate for the OnMenuElementShow and OnMenuElementHide events

◆ Delegate_OnMenuTurnOn()

delegate void AC.EventManager.Delegate_OnMenuTurnOn ( AC.Menu  _menu,
bool  isInstant 
)

A delegate for the OnMenuTurnOn and OnMenuTurnOff events

◆ Delegate_OnModifyJournalPage()

delegate void AC.EventManager.Delegate_OnModifyJournalPage ( MenuJournal  journal,
JournalPage  page,
int  index 
)

A delegate for the OnJournalPageAdd and OnJournalPageRemove events

◆ Delegate_OnMouseOverMenu()

delegate void AC.EventManager.Delegate_OnMouseOverMenu ( AC.Menu  _menu,
MenuElement  _element,
int  _slot 
)

A delegate for the OnMouseOverMenu event

◆ Delegate_OnMoveable()

delegate void AC.EventManager.Delegate_OnMoveable ( DragBase  dragBase)

A delegate for the Delegate_OnGrabMoveable and Delegate_OnDropMoveable events

◆ Delegate_OnOccupyPlayerStart()

delegate void AC.EventManager.Delegate_OnOccupyPlayerStart ( Player  player,
PlayerStart  playerStart 
)

A delegate for the OnOccupyPlayerStart event

◆ Delegate_OnPlaySoundtrack()

delegate void AC.EventManager.Delegate_OnPlaySoundtrack ( int  trackID,
bool  loop,
float  fadeTime,
int  startingSample 
)

A delegate for the OnPlayMusic and OnPlayAmbience events

◆ Delegate_OnSetHardwareCursor()

delegate void AC.EventManager.Delegate_OnSetHardwareCursor ( Texture2D  cursorTexture,
Vector2  clickOffset 
)

A delegate for the OnSetHardwareCursor event

◆ Delegate_OnShakeCamera()

delegate void AC.EventManager.Delegate_OnShakeCamera ( float  intensity,
float  duration 
)

A delegate for the Delegate_OnShakeCamera events

◆ Delegate_OnStopSoundtrack()

delegate void AC.EventManager.Delegate_OnStopSoundtrack ( float  fadeTime)

A delegate for the OnStopMusic and OnStopAmbience events

◆ Delegate_OnSwitchCamera()

delegate void AC.EventManager.Delegate_OnSwitchCamera ( _Camera  fromCamera,
_Camera  toCamera,
float  transitionTime 
)

A delegate for the Delegate_OnSwitchCamera events

◆ Delegate_OnSwitchProfile()

delegate void AC.EventManager.Delegate_OnSwitchProfile ( int  profileID)

A delegate for the OnSwitchProfile event

◆ Delegate_OnUpdateDragLine()

delegate void AC.EventManager.Delegate_OnUpdateDragLine ( Vector2  startScreenPosition,
Vector2  endScreenPosition 
)

A delegate for the OnUpdateDragLine event

◆ Delegate_OnVariableChange()

delegate void AC.EventManager.Delegate_OnVariableChange ( GVar  variable)

A delegate for the OnVariableChange event

◆ Delegate_SetHeadTurnTarget()

delegate void AC.EventManager.Delegate_SetHeadTurnTarget ( AC.Char  character,
Transform  headTurnTarget,
Vector3  targetOffset,
bool  isInstant 
)

A delegate for the OnSetHeadTurnTarget event

◆ Delegate_SetPlayer()

delegate void AC.EventManager.Delegate_SetPlayer ( Player  player)

A delegate for the OnSetPlayer event

◆ Delegate_SpeechToken()

delegate void AC.EventManager.Delegate_SpeechToken ( AC.Char  speakingCharacter,
int  lineID,
string  tokenKey,
string  tokenValue 
)

A delegate for the OnSpeechToken event

◆ Delegate_StartSpeech()

delegate void AC.EventManager.Delegate_StartSpeech ( AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

A delegate for the OnStartSpeech and OnEndSpeechScroll events

◆ Delegate_StopSpeech()

delegate void AC.EventManager.Delegate_StopSpeech ( AC.Char  speakingCharacter)

A delegate for the OnStopSpeech event

Member Data Documentation

◆ OnBeforeImporting

Delegate_Generic AC.EventManager.OnBeforeImporting
static

An event triggered before the variables in a save game file are imported

◆ OnBeforeLoading

Delegate_Generic AC.EventManager.OnBeforeLoading
static

An event triggered before a save game file is loaded

◆ OnBeforeSaving

Delegate_Generic AC.EventManager.OnBeforeSaving
static

An event triggered before a save game file is created

◆ OnCharacterEndPath

Delegate_OnCharacterEndPath AC.EventManager.OnCharacterEndPath
static

An event triggered whenever a character's path is ended

◆ OnCharacterSetPath

Delegate_OnCharacterSetPath AC.EventManager.OnCharacterSetPath
static

An event triggered whenever a character's path is set

◆ OnClearHeadTurnTarget

Delegate_ClearHeadTurnTarget AC.EventManager.OnClearHeadTurnTarget
static

An event triggered whenever a character stops looking at a target with their head

◆ OnContainerAdd

Delegate_Container AC.EventManager.OnContainerAdd
static

An event triggered whenever an item is added to a Container

◆ OnContainerRemove

Delegate_Container AC.EventManager.OnContainerRemove
static

An event triggered whenever an item is removed from a Container

◆ OnContainerRemoveFail

Delegate_Container AC.EventManager.OnContainerRemoveFail
static

An event triggered whenever an item cannot be removed from a Container

◆ OnCraftingSucceed

Delegate_Crafting AC.EventManager.OnCraftingSucceed
static

An event triggered whenever a recipe has been succesfully created

◆ OnDoubleClickHotspot

Delegate_ChangeHotspot AC.EventManager.OnDoubleClickHotspot
static

An event triggered whenever a Hotspot is double-clicked

◆ OnDownloadVariable

Delegate_OnVariableChange AC.EventManager.OnDownloadVariable
static

An event triggered whenever a Variable's value is to be downloaded from a custom script it is linked to

◆ OnEnableInteractionMenus

Delegate_OnEnableInteractionMenus AC.EventManager.OnEnableInteractionMenus
static

An event triggered whenever Interaction menus are enabled for a Hotspot or InvItem

◆ OnFailImporting

Delegate_Generic AC.EventManager.OnFailImporting
static

An event triggered after an attempt to import a game fails

◆ OnFailLoading

Delegate_Generic AC.EventManager.OnFailLoading
static

An event triggered after an attempt to load a game fails

◆ OnFailSaving

Delegate_Generic AC.EventManager.OnFailSaving
static

An event triggered after an attempt to save a game fails

◆ OnFinishImporting

Delegate_Generic AC.EventManager.OnFinishImporting
static

An event triggered after the variables in a save game file are imported

◆ OnFinishLoading

Delegate_Generic AC.EventManager.OnFinishLoading
static

An event triggered after a save game file is loaded

◆ OnFinishSaving

Delegate_Generic AC.EventManager.OnFinishSaving
static

An event triggered after a save game file is created

◆ OnGenerateMenus

Delegate_Generic AC.EventManager.OnGenerateMenus
static

An event triggered once the Menus have been generated when the game begins

◆ OnHotspotDeselect

Delegate_ChangeHotspot AC.EventManager.OnHotspotDeselect
static

An event triggered whenever a Hotspot is de-selected

◆ OnHotspotInteract

Delegate_InteractHotspot AC.EventManager.OnHotspotInteract
static

An event triggered whenever a Hotspot's button is interacted with

◆ OnHotspotSelect

Delegate_ChangeHotspot AC.EventManager.OnHotspotSelect
static

An event triggered whenever a Hotspot is selected

◆ OnHotspotTurnOff

Delegate_ChangeHotspot AC.EventManager.OnHotspotTurnOff
static

An event triggered whenever a Hotspot is turned off

◆ OnHotspotTurnOn

Delegate_ChangeHotspot AC.EventManager.OnHotspotTurnOn
static

An event triggered whenever a Hotspot is turned on

◆ OnInventoryAdd

Delegate_ChangeInventory AC.EventManager.OnInventoryAdd
static

An event triggered whenever an item is added to the player's inventory

◆ OnInventoryCombine

Delegate_CombineInventory AC.EventManager.OnInventoryCombine
static

An event triggered whenever two inventory items are combined together. This is triggered even if the item is "used" with itself

◆ OnInventoryDeselect

Delegate_Inventory AC.EventManager.OnInventoryDeselect
static

An event triggered whenever an inventory item is de-selected by the player

◆ OnInventoryInteract

Delegate_ChangeInventory AC.EventManager.OnInventoryInteract
static

An event triggered whenever an inventory item is interacted with

◆ OnInventoryRemove

Delegate_ChangeInventory AC.EventManager.OnInventoryRemove
static

An event triggered whenever an item is removed from the player's inventory

◆ OnInventorySelect

Delegate_Inventory AC.EventManager.OnInventorySelect
static

An event triggered whenever an inventory item is selected by the player

◆ OnJournalPageAdd

Delegate_OnModifyJournalPage AC.EventManager.OnJournalPageAdd
static

An event triggered whenever a Journal element has a new page added to it

◆ OnJournalPageRemove

Delegate_OnModifyJournalPage AC.EventManager.OnJournalPageRemove
static

An event triggered whenever a Journal element has a page removed to it

◆ OnMenuElementClick

Delegate_OnMenuElementClick AC.EventManager.OnMenuElementClick
static

An event triggered whenever a MenuElement inside a Menu is clicked

◆ OnMenuElementHide

Delegate_OnMenuElementVisiblity AC.EventManager.OnMenuElementHide
static

An event triggered whenever a menu element is made invisible

◆ OnMenuElementShift

Delegate_OnMenuElementShift AC.EventManager.OnMenuElementShift
static

An event triggered whenever a menu element's slots are shifted

◆ OnMenuElementShow

Delegate_OnMenuElementVisiblity AC.EventManager.OnMenuElementShow
static

An event triggered whenever a menu element is made visible

◆ OnMenuTurnOff

Delegate_OnMenuTurnOn AC.EventManager.OnMenuTurnOff
static

An event triggered whenever a menu is turned off

◆ OnMenuTurnOn

Delegate_OnMenuTurnOn AC.EventManager.OnMenuTurnOn
static

An event triggered whenever a menu is turned on

◆ OnMouseOverMenu

Delegate_OnMouseOverMenu AC.EventManager.OnMouseOverMenu
static

An event triggered whenever the mouse hovers over a new menu element

◆ OnOccupyPlayerStart

Delegate_OnOccupyPlayerStart AC.EventManager.OnOccupyPlayerStart
static

An event triggered whenever the player snaps to a PlayerStart

◆ OnSetHardwareCursor

Delegate_OnSetHardwareCursor AC.EventManager.OnSetHardwareCursor
static

An event triggered when the Hardware cursor is changed

◆ OnSetHeadTurnTarget

Delegate_SetHeadTurnTarget AC.EventManager.OnSetHeadTurnTarget
static

An event triggered whenever a character's head is given a target to look at

◆ OnSetPlayer

Delegate_SetPlayer AC.EventManager.OnSetPlayer
static

An event triggered whenever a new Player is loaded into the scene

◆ OnSwitchProfile

Delegate_OnSwitchProfile AC.EventManager.OnSwitchProfile
static

An event triggered after switching profile

◆ OnUpdateDragLine

Delegate_OnUpdateDragLine AC.EventManager.OnUpdateDragLine
static

An event triggered every frame if the Player is drag-controlled

◆ OnUploadVariable

Delegate_OnVariableChange AC.EventManager.OnUploadVariable
static

An event triggered whenever a Variable's value is to be uploaded to a custom script it is linked to

◆ OnVariableChange

Delegate_OnVariableChange AC.EventManager.OnVariableChange
static

An event triggered whenever a Variable is changed via an Action

Event Documentation

◆ OnAfterChangeScene

Delegate_AfterSceneChange AC.EventManager.OnAfterChangeScene
static

An event triggered just after the active scene is changed

◆ OnBeforeChangeScene

Delegate_NoParameters AC.EventManager.OnBeforeChangeScene
static

An event triggered just before the active scene is changed

◆ OnBeginActionList

Delegate_OnBeginActionList AC.EventManager.OnBeginActionList
static

An event triggered when an ActionList is run

◆ OnChangeLanguage

Delegate_OnChangeLanguage AC.EventManager.OnChangeLanguage
static

An event triggered whenever the current language is changed

◆ OnChangeSubtitles

Delegate_OnChangeSubtitles AC.EventManager.OnChangeSubtitles
static

An event triggered whenever subtitles are turns on or off

◆ OnChangeVolume

Delegate_OnChangeVolume AC.EventManager.OnChangeVolume
static

An event triggered whenever the Music, Speech or SFX volumes are changed

◆ OnClickConversation

Delegate_ConversationChoice AC.EventManager.OnClickConversation
static

An event triggered whenever a Conversation option is chosen

◆ OnCloseDocument

Delegate_HandleDocument AC.EventManager.OnCloseDocument
static

An event triggered when a Document is closed

◆ OnCompleteScenePreload

Delegate_OnCompleteScenePreload AC.EventManager.OnCompleteScenePreload
static

An event triggered after a request to preload a scene is completed

◆ OnCompleteSpeechScroll

Delegate_StartSpeech AC.EventManager.OnCompleteSpeechScroll
static

An event triggred whenever a line of dialogue has completed scrolling

◆ OnDropMoveable

Delegate_OnMoveable AC.EventManager.OnDropMoveable
static

An event triggered whenever a moveable object is dropped by the player

◆ OnEndSpeechScroll

Delegate_StartSpeech AC.EventManager.OnEndSpeechScroll
static

An event triggered whenever a line of dialogue stops scrolling

◆ OnEnterGameState

Delegate_ChangeGameState AC.EventManager.OnEnterGameState
static

An event triggered whenever a GameState is entered

◆ OnExitGameState

Delegate_ChangeGameState AC.EventManager.OnExitGameState
static

An event triggered whenever a GameState is exited

◆ OnGrabMoveable

Delegate_OnMoveable AC.EventManager.OnGrabMoveable
static

An event triggered whenever a moveable object is picked up by the player

◆ OnOpenDocument

Delegate_HandleDocument AC.EventManager.OnOpenDocument
static

An event triggered when a new Document is opened

◆ OnPlayAmbience

Delegate_OnPlaySoundtrack AC.EventManager.OnPlayAmbience
static

An event triggered when an Ambience track plays

◆ OnPlayMusic

Delegate_OnPlaySoundtrack AC.EventManager.OnPlayMusic
static

An event triggered when a Music track plays

◆ OnShakeCamera

Delegate_OnShakeCamera AC.EventManager.OnShakeCamera
static

An event triggered whenever the MainCamera is shaken

◆ OnSpeechToken

Delegate_SpeechToken AC.EventManager.OnSpeechToken
static

An event triggered whenever a line of dialogue uses a speech token

◆ OnStartConversation

Delegate_Conversation AC.EventManager.OnStartConversation
static

An event triggered whenever a Conversation begins

◆ OnStartScene

Delegate_NoParameters AC.EventManager.OnStartScene
static

An event triggered whenever a scene starts, but not due to loading a save file

◆ OnStartSpeech

Delegate_StartSpeech AC.EventManager.OnStartSpeech
static

An event triggered whenever a new line of dialogue begins

◆ OnStartSpeechScroll

Delegate_StartSpeech AC.EventManager.OnStartSpeechScroll
static

An event triggered whenever a line of dialogue starts scrolling

◆ OnStopAmbience

Delegate_OnStopSoundtrack AC.EventManager.OnStopAmbience
static

An event triggered when the Ambience stops

◆ OnStopMusic

Delegate_OnStopSoundtrack AC.EventManager.OnStopMusic
static

An event triggered when the Music stops

◆ OnStopSpeech

Delegate_StopSpeech AC.EventManager.OnStopSpeech
static

An event triggered whenever a line of dialogue ends

◆ OnSwitchCamera

Delegate_OnSwitchCamera AC.EventManager.OnSwitchCamera
static

An event triggered whenever the MainCamera switches to a new _Camera