Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.SimpleConversationCondition Class Reference

Simple conversation condition. More...

Inheritance diagram for Dragengine.ConversationSystem.SimpleConversationCondition:

Classes

enum  Type
 Condition type. More...
 

Public Member Functions

Array getConditions ()
 Child conditions or null.
 
Enumeration getMode ()
 Mode.
 
String getName ()
 Name.
 
StringID getTarget ()
 Actor identifier or alias.
 
int getValue ()
 Value.
 
SimpleConversationCondition new (SimpleConversationCondition condition)
 Create copy of simple conversation condition.
 
SimpleConversationCondition new (Type type)
 Create simple conversation condition.
 
void setConditions (Array conditions)
 Set conditions or null.
 
void setMode (Enumeration mode)
 Set mode.
 
void setName (String name)
 Set name.
 
void setTarget (StringID target)
 Set actor identifier or alias.
 
void setValue (int value)
 Set value.
 

Public Attributes

Array pConditions
 
Enumeration pMode
 
String pName
 
StringID pTarget
 
Type pType
 
int pValue
 

Detailed Description

Simple conversation condition.

Version
1.25

Member Function Documentation

◆ getConditions()

Array Dragengine.ConversationSystem.SimpleConversationCondition.getConditions ( )

Child conditions or null.

  • Type::logic: Array of SimpleConversationCondition.
  • other types: Not used and is null

◆ getMode()

Enumeration Dragengine.ConversationSystem.SimpleConversationCondition.getMode ( )

Mode.

  • Type::variable: CConditionVariable.Operator for variables or CConditionActorParameter.Operator for parameters.
  • Type::trigger: CConditionTrigger.Action .
  • Type::logic: CConditionLogic.Operator .
  • other types: Not used and is null

◆ getName()

String Dragengine.ConversationSystem.SimpleConversationCondition.getName ( )

Name.

  • Type::variable: Variable/parameter name.
  • Type::trigger: Trigger name.
  • Type::command: Command to send.

◆ getTarget()

StringID Dragengine.ConversationSystem.SimpleConversationCondition.getTarget ( )

Actor identifier or alias.

  • Type::variable: Idenfitier or alias of actor if parameter or null if variable.
  • Type::condition: Identifier of actor or null for game conditioon.
  • other types: Not used and is null

◆ getValue()

int Dragengine.ConversationSystem.SimpleConversationCondition.getValue ( )

Value.

  • Type::variable: Value to set variable/parameter to.
  • other types: Not used and is null

◆ new() [1/2]

SimpleConversationCondition Dragengine.ConversationSystem.SimpleConversationCondition.new ( SimpleConversationCondition  condition)

Create copy of simple conversation condition.

◆ new() [2/2]

SimpleConversationCondition Dragengine.ConversationSystem.SimpleConversationCondition.new ( Type  type)

Create simple conversation condition.

◆ setConditions()

void Dragengine.ConversationSystem.SimpleConversationCondition.setConditions ( Array  conditions)

Set conditions or null.

See also
#getConditions()

◆ setMode()

void Dragengine.ConversationSystem.SimpleConversationCondition.setMode ( Enumeration  mode)

Set mode.

See also
#getMode()

◆ setName()

void Dragengine.ConversationSystem.SimpleConversationCondition.setName ( String  name)

Set name.

See also
#getName()

◆ setTarget()

void Dragengine.ConversationSystem.SimpleConversationCondition.setTarget ( StringID  target)

Set actor identifier or alias.

See also
#getTarget()

◆ setValue()

void Dragengine.ConversationSystem.SimpleConversationCondition.setValue ( int  value)

Set value.

See also
#getValue()

Member Data Documentation

◆ pConditions

Array Dragengine.ConversationSystem.SimpleConversationCondition.pConditions

◆ pMode

Enumeration Dragengine.ConversationSystem.SimpleConversationCondition.pMode

◆ pName

String Dragengine.ConversationSystem.SimpleConversationCondition.pName

◆ pTarget

StringID Dragengine.ConversationSystem.SimpleConversationCondition.pTarget

◆ pType

Type Dragengine.ConversationSystem.SimpleConversationCondition.pType

◆ pValue

int Dragengine.ConversationSystem.SimpleConversationCondition.pValue

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