Drag[en]gine Script Module DragonScript Script API  1.0
ConversationTarget Class Reference

Target in a conversation script. More...

Inheritance diagram for ConversationTarget:

Public Member Functions

StringID getActorID ()
 Actor ID or null if not set. More...
 
int getActorIndex ()
 Actor index or -1 if not set. More...
 
String getBone ()
 Bone name or null to not use a bone. More...
 
StringID getCoordSystemID ()
 Coordinate system ID or null if not set. More...
 
StringID getName ()
 Unique name of target. More...
 
Quaternion getOrientation ()
 Orientation relative to target. More...
 
Vector getPosition ()
 Position relative to target. More...
 
ConversationTarget new (StringID name)
 Create conversation target. More...
 
void setActorID (StringID id)
 Set actor ID or null if not set. More...
 
void setActorIndex (int index)
 Set actor index or -1 if not set. More...
 
void setBone (String bone)
 Set bone name or null to not use a bone. More...
 
void setCoordSystemID (StringID id)
 Set coordinate system ID or null if not set. More...
 
void setOrientation (Quaternion orientation)
 Set orientation relative to target. More...
 
void setPosition (Vector position)
 Set position relative to target. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write to file. More...
 

Static Public Member Functions

static ConversationTarget readFromFile (PersistencyEnvironment env, FileReader reader)
 Read from file. More...
 

Detailed Description

Target in a conversation script.

Member Function Documentation

◆ getActorID()

StringID getActorID ( )

Actor ID or null if not set.

◆ getActorIndex()

int getActorIndex ( )

Actor index or -1 if not set.

◆ getBone()

String getBone ( )

Bone name or null to not use a bone.

◆ getCoordSystemID()

StringID getCoordSystemID ( )

Coordinate system ID or null if not set.

◆ getName()

StringID getName ( )

Unique name of target.

◆ getOrientation()

Quaternion getOrientation ( )

Orientation relative to target.

◆ getPosition()

Vector getPosition ( )

Position relative to target.

◆ new()

Create conversation target.

◆ readFromFile()

static ConversationTarget readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)
static

Read from file.

◆ setActorID()

void setActorID ( StringID  id)

Set actor ID or null if not set.

◆ setActorIndex()

void setActorIndex ( int  index)

Set actor index or -1 if not set.

◆ setBone()

void setBone ( String  bone)

Set bone name or null to not use a bone.

◆ setCoordSystemID()

void setCoordSystemID ( StringID  id)

Set coordinate system ID or null if not set.

◆ setOrientation()

void setOrientation ( Quaternion  orientation)

Set orientation relative to target.

◆ setPosition()

void setPosition ( Vector  position)

Set position relative to target.

◆ writeToFile()

void writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write to file.


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