Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BaseDialogueInterface.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
14 //Returns true if the provided entity is involved in a Dialogue as well as the ID of said dialogue. Returns false otherwise
15 proto external bool IsEntityInDialogue(notnull IEntity speaker, out DialogueID id);
16 //Requests the dialogue of the provided resource to be played with the provided speaker entities and input variables.
17 proto external bool RequestDialogue(ResourceName resourceName, notnull array<IEntity> speakers, array<ref DialogueVariableMappingObject> inputVariableMapObjects = null);
18 //Retrieves an array with the entities involved in a dialogue, some of them may be null. Returns -1 if the provided Id doesn't represent any dialogue. Otherwise, returns number of elements in array.
19 proto external int GetEntitiesInvolvedInDialogue(DialogueID id, out notnull array<IEntity> outEntities);
20 //Retrieves all DataComponents of the dialogue's current node that are of the provided type. Returns number of found components.
21 proto external int GetDataOfCurrentNode(DialogueID id, typename type, notnull array<DialogueData> outData);
22 //Returns true if the dialogue's current node is waiting to be signaled to continue to the next one. This signal is done by requesting a Skip.
23 proto external bool IsCurrentNodeWaitingForContinue(DialogueID id);
24 //Returns true if the dialogue's current node can be Skipped.
25 proto external bool CanCurrentNodeBeSkipped(DialogueID id);
26 //Returns true if the dialogue's current node has completed it's expected duration
27 proto external bool NodeHasCompletedDuration(DialogueID id);
28 //Retrieves the indexes of the currently available responses.
29 proto external int GetAvailableResponseIndexes(DialogueID id, notnull array<int> responseIndexes);
30 //Retrieves all DataComponents of the node at a specific response index that are of the provided type. The response node doesn't have to be an available response. Returns number of found components.
31 proto external int GetDataOfResponse(DialogueID id, int responseIndex, typename type, notnull array<DialogueData> outData);
32 //Recomputes transition rules on current node and updates available responses.
33 proto external void RecomputeTransitionRules(DialogueID id);
34 //Interaction methods
35 proto external void RequestResponse(DialogueID id, int responseId);
36 proto external void RequestSkip(DialogueID id);
37 proto external void RequestInterrupt(DialogueID id, string interruptionName = string.Empty);
38 //Enables ticking of the Interface
39 proto external void EnableTicking(bool enable);
40
41 // callbacks
42
43 //User Callbacks
44 event void OnDialogueStarted(DialogueID id);
45 event void OnDialogueEnded(DialogueID id);
46 event void OnNodeDurationCompleted(DialogueID id);
47 event void OnEventApplied(DialogueID id);
48 event void OnTick(float deltaTime);
49}
50
ResourceName resourceName
Definition SCR_AIGroup.c:66
EDamageType type