Enfusion Script API
Loading...
Searching...
No Matches
DialogueTransitionRule Interface Reference

Wrapper for testing if a condition is met. Used by DialogueNodeTransition. More...

Inheritance diagram for DialogueTransitionRule:
DialogueBaseElement ScriptAndConfig Managed DialogueBaseFloatRule DialogueBaseIntegerRule BiggerOrEqualToFloat BiggerThanFloat EqualToFloat BiggerOrEqualToInt BiggerThanToInt EqualToInt

Protected Member Functions

void OnInit ()
 
bool TestFunction (IEntity currentSpeaker, IEntity nextSpeaker)
 Function that performs a scripted condition test. Returns true if the scripted condition test passes.
 

Additional Inherited Members

- Public Member Functions inherited from DialogueBaseElement
proto bool GetVariable (string name, out void value)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Detailed Description

Wrapper for testing if a condition is met. Used by DialogueNodeTransition.

Member Function Documentation

◆ OnInit()

void DialogueTransitionRule.OnInit ( )
protected

◆ TestFunction()

bool DialogueTransitionRule.TestFunction ( IEntity currentSpeaker,
IEntity nextSpeaker )
protected

Function that performs a scripted condition test. Returns true if the scripted condition test passes.


The documentation for this interface was generated from the following file: