Adventure Creator  1.68.0
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.SpeechGap Struct Reference

Public Member Functions

 SpeechGap (int _characterIndex, float _waitTime)
 
 SpeechGap (int _characterIndex, bool _pauseIsIndefinite)
 
 SpeechGap (int _characterIndex, int _expressionID)
 
 SpeechGap (int _characterIndex, string _tokenKey, string _tokenValue)
 
void CallEvent (Speech speech)
 

Public Attributes

int characterIndex
 
float waitTime
 
bool pauseIsIndefinite
 
int expressionID
 
string tokenKey
 
string tokenValue
 

Detailed Description

A data struct for any pauses, delays or Expression changes within a speech line.

Constructor & Destructor Documentation

◆ SpeechGap() [1/4]

AC.SpeechGap.SpeechGap ( int  _characterIndex,
float  _waitTime 
)

The default Constructor.

<param name = "_characterIndex</param>The character index of the gap</param> <param name = "_waitTime

The time delay of the gap

◆ SpeechGap() [2/4]

AC.SpeechGap.SpeechGap ( int  _characterIndex,
bool  _pauseIsIndefinite 
)

A Constructor for an indefinite pauses.

<param name = "_characterIndex</param>The character index of the gap</param> <param name = "_expressionID

The ID number of the Expression

◆ SpeechGap() [3/4]

AC.SpeechGap.SpeechGap ( int  _characterIndex,
int  _expressionID 
)

A Constructor for an expression change.

<param name = "_characterIndex</param>The character index of the gap</param> <param name = "_expressionID

The ID number of the Expression

◆ SpeechGap() [4/4]

AC.SpeechGap.SpeechGap ( int  _characterIndex,
string  _tokenKey,
string  _tokenValue 
)

A Constructor for custom event tokens.

<param name = "_characterIndex</param>The character index of the gap</param> <param name = "_expressionID

The ID number of the Expression

Member Data Documentation

◆ characterIndex

int AC.SpeechGap.characterIndex

The character index of the gap

◆ expressionID

int AC.SpeechGap.expressionID

The ID number of the Expression

◆ pauseIsIndefinite

bool AC.SpeechGap.pauseIsIndefinite

If True, there is no time delay - the gap will pause indefinitely until the player clicks

◆ tokenKey

string AC.SpeechGap.tokenKey

The key, if a custom event token

◆ tokenValue

string AC.SpeechGap.tokenValue

The value, if a custom event token

◆ waitTime

float AC.SpeechGap.waitTime

The time delay of the gap