|
Drag[en]gine Script Module DragonScript 1.35
|
Conversation actions. More...
Public Member Functions | |
| void | execute (ConversationPlayback playback) |
| Execute the action. | |
| float | getDelay () |
| Delay in seconds before processing this action. | |
| bool | getWaitForActor () |
| Wait for actor. | |
| String | getWaitForActorID () |
| ID of actor to wait for or null to wait for all actors. | |
| bool | getWaitSpeakOnly () |
| Waiting considers only actor speaking not actor waiting. | |
| ConversationAction | new () |
| Create conversation action. | |
| ConversationAction | new (PersistencyEnvironment env, FileReader reader) |
| Read from file. | |
| void | setDelay (float delay) |
| Set delay in seconds before processing this action. | |
| void | setWaitForActor (bool wait) |
| Set wait for actor. | |
| void | setWaitForActorID (String id) |
| Set ID of actor to wait for or null to wait for all actors. | |
| void | setWaitSpeakOnly (bool speakOnly) |
| Set waiting considers only actor speaking not actor waiting. | |
| Public Member Functions inherited from Dragengine.LoadSave.Persistable | |
| String | persistencyFactoryName () |
| Name of PersistencyFactory required to load object from file. | |
| void | writeObjectToFile (PersistencyEnvironment env, FileWriter writer) |
| Write object to file writer. | |
Public Attributes | |
| float | pDelay |
| bool | pWaitForActor |
| String | pWaitForActorID |
Conversation actions.
| void Dragengine.ConversationSystem.ConversationAction.execute | ( | ConversationPlayback | playback | ) |
Execute the action.
Reimplemented in Dragengine.ConversationSystem.CActionActorAdd, Dragengine.ConversationSystem.CActionActorCommand, Dragengine.ConversationSystem.CActionActorRemove, Dragengine.ConversationSystem.CActionActorSpeak, Dragengine.ConversationSystem.CActionCameraShot, Dragengine.ConversationSystem.CActionCoordSystemAdd, Dragengine.ConversationSystem.CActionCoordSystemRemove, Dragengine.ConversationSystem.CActionGameCommand, Dragengine.ConversationSystem.CActionIfElse, Dragengine.ConversationSystem.CActionMusic, Dragengine.ConversationSystem.CActionPlayerChoice, Dragengine.ConversationSystem.CActionSetActorParameter, Dragengine.ConversationSystem.CActionSetVariable, Dragengine.ConversationSystem.CActionSnippet, Dragengine.ConversationSystem.CActionStopConversation, Dragengine.ConversationSystem.CActionStopTopic, Dragengine.ConversationSystem.CActionTrigger, and Dragengine.ConversationSystem.CActionWait.
References execute(), getDelay(), getWaitForActorID(), new(), pDelay, pWaitForActorID, setDelay(), setWaitForActorID(), setWaitSpeakOnly(), and Dragengine.LoadSave.Persistable.writeObjectToFile().
Referenced by execute().
| float Dragengine.ConversationSystem.ConversationAction.getDelay | ( | ) |
Delay in seconds before processing this action.
Referenced by execute().
| bool Dragengine.ConversationSystem.ConversationAction.getWaitForActor | ( | ) |
| String Dragengine.ConversationSystem.ConversationAction.getWaitForActorID | ( | ) |
ID of actor to wait for or null to wait for all actors.
References pWaitForActor, and setWaitForActor().
Referenced by execute().
| bool Dragengine.ConversationSystem.ConversationAction.getWaitSpeakOnly | ( | ) |
Waiting considers only actor speaking not actor waiting.
References getWaitForActor().
Referenced by setDelay().
| ConversationAction Dragengine.ConversationSystem.ConversationAction.new | ( | ) |
Create conversation action.
Reimplemented in Dragengine.ConversationSystem.CActionActorAdd, Dragengine.ConversationSystem.CActionActorCommand, Dragengine.ConversationSystem.CActionActorRemove, Dragengine.ConversationSystem.CActionActorSpeak, Dragengine.ConversationSystem.CActionCameraShot, Dragengine.ConversationSystem.CActionCoordSystemAdd, Dragengine.ConversationSystem.CActionCoordSystemRemove, Dragengine.ConversationSystem.CActionGameCommand, Dragengine.ConversationSystem.CActionIfElse, Dragengine.ConversationSystem.CActionMusic, Dragengine.ConversationSystem.CActionPlayerChoice, Dragengine.ConversationSystem.CActionSetActorParameter, Dragengine.ConversationSystem.CActionSetVariable, Dragengine.ConversationSystem.CActionSnippet, Dragengine.ConversationSystem.CActionStopConversation, Dragengine.ConversationSystem.CActionStopTopic, Dragengine.ConversationSystem.CActionTrigger, and Dragengine.ConversationSystem.CActionWait.
References new(), and pWaitForActor.
Referenced by execute(), getWaitForActor(), new(), new(), and setWaitForActor().
| ConversationAction Dragengine.ConversationSystem.ConversationAction.new | ( | PersistencyEnvironment | env, |
| FileReader | reader ) |
Read from file.
Reimplemented in Dragengine.ConversationSystem.CActionActorAdd, Dragengine.ConversationSystem.CActionActorCommand, Dragengine.ConversationSystem.CActionActorRemove, Dragengine.ConversationSystem.CActionActorSpeak, Dragengine.ConversationSystem.CActionCameraShot, Dragengine.ConversationSystem.CActionCoordSystemAdd, Dragengine.ConversationSystem.CActionCoordSystemRemove, Dragengine.ConversationSystem.CActionGameCommand, Dragengine.ConversationSystem.CActionIfElse, Dragengine.ConversationSystem.CActionMusic, Dragengine.ConversationSystem.CActionPlayerChoice, Dragengine.ConversationSystem.CActionSetActorParameter, Dragengine.ConversationSystem.CActionSetVariable, Dragengine.ConversationSystem.CActionSnippet, Dragengine.ConversationSystem.CActionStopConversation, Dragengine.ConversationSystem.CActionStopTopic, Dragengine.ConversationSystem.CActionTrigger, and Dragengine.ConversationSystem.CActionWait.
References new().
| void Dragengine.ConversationSystem.ConversationAction.setDelay | ( | float | delay | ) |
Set delay in seconds before processing this action.
References getWaitSpeakOnly().
Referenced by execute().
| void Dragengine.ConversationSystem.ConversationAction.setWaitForActor | ( | bool | wait | ) |
Set wait for actor.
References new(), pDelay, and pWaitForActorID.
Referenced by getWaitForActorID().
| void Dragengine.ConversationSystem.ConversationAction.setWaitForActorID | ( | String | id | ) |
Set ID of actor to wait for or null to wait for all actors.
Referenced by execute().
| void Dragengine.ConversationSystem.ConversationAction.setWaitSpeakOnly | ( | bool | speakOnly | ) |
Set waiting considers only actor speaking not actor waiting.
References pWaitForActor.
Referenced by execute().
| float Dragengine.ConversationSystem.ConversationAction.pDelay |
Referenced by execute(), and setWaitForActor().
| bool Dragengine.ConversationSystem.ConversationAction.pWaitForActor |
Referenced by getWaitForActor(), getWaitForActorID(), new(), and setWaitSpeakOnly().
| String Dragengine.ConversationSystem.ConversationAction.pWaitForActorID |
Referenced by execute(), and setWaitForActor().