|
Drag[en]gine Script Module DragonScript 1.32.1
|
Conversation action making actors speak. More...
Classes | |
| class | Factory |
| Factory for loading actor actions. More... | |
Public Member Functions | |
| void | addBodyLookAt (ConversationStrip lookAt) |
| Adds a body look-at. | |
| void | addEyesLookAt (ConversationStrip lookAt) |
| Adds a eyes look-at. | |
| void | addFacePose (ConversationStrip facePose) |
| Add face pose. | |
| void | addGesture (ConversationStrip gesture) |
| Adds a gesture. | |
| void | addHeadLookAt (ConversationStrip lookAt) |
| Adds a head look-at. | |
| void | addWord (ConversationStrip word) |
| Add word. | |
| void | execute (ConversationPlayback playback) |
| Execute action. | |
| void | executeGesture (ConversationPlayback playback, ConversationActor actor) |
| Execute gesture. | |
| float | executeSpeechAnimation (ConversationPlayback playback, ConversationActor actor) |
| Execute speech animation. | |
| float | executeVoiceSound (ConversationPlayback playback, ConversationActor actor) |
| Execute voice sound. | |
| void | forEachBodyLookAt (Block aBlock) |
| Visits all body look-ats. | |
| void | forEachEyesLookAt (Block aBlock) |
| Visits all eyes look-ats. | |
| void | forEachFacePose (Block aBlock) |
| Visits all face poses. | |
| void | forEachGesture (Block aBlock) |
| Visits all gestures. | |
| void | forEachHeadLookAt (Block aBlock) |
| Visits all head look-ats. | |
| void | forEachWord (Block aBlock) |
| Visits all words. | |
| StringID | getActorID () |
| Actor ID or null if not set. | |
| int | getBodyLookAtCount () |
| Count of body look-ats. | |
| int | getEyeLookAtCount () |
| Count of eye look-ats. | |
| int | getFacePoseCount () |
| Count of face poses. | |
| int | getGestureCount () |
| Count of gestures. | |
| int | getHeadLookAtCount () |
| Count of head look-ats. | |
| float | getMinSpeechTime () |
| Minimum time the actor is speaking. | |
| float | getMissingPhonemeLength () |
| Length to use for missing phoneme. | |
| String | getPathSound () |
| Path to the sound file or null to not play sound. | |
| Sound | getSound () |
| Sound file loading it if not loaded already. | |
| UnicodeString | getTextBoxText () |
| Text box text or null to not set the text. | |
| StringID | getTextBoxTextStyle () |
| Text box text style id. | |
| String | getTextBoxTextTranslate () |
| Translated text box text or null to use regular text box text. | |
| bool | getUseSpeechAnimation () |
| Speech animation is used for this action. | |
| int | getWordCount () |
| Count of words. | |
| CActionActorSpeak | new () |
| Create conversation action. | |
| CActionActorSpeak | new (PersistencyEnvironment env, FileReader reader) |
| Read from file. | |
| void | playVoiceAudio (ConversationActor actor, Sound sound) |
| Play back a sound file as voice of a conversation actor. | |
| void | removeAllBodyLookAt () |
| Remove all body look-at. | |
| void | removeAllEyeLookAt () |
| Remove all eye look-at. | |
| void | removeAllFacePoses () |
| Remove all face poses. | |
| void | removeAllGestures () |
| Remove all gestues. | |
| void | removeAllHeadLookAt () |
| Remove all head look-at. | |
| void | removeAllWords () |
| Remove all words. | |
| void | setActorID (StringID id) |
| Set actor ID or null if not set. | |
| void | setMinSpeechTime (float minSpeechTime) |
| Set minimum time the actor is speaking. | |
| void | setMissingPhonemeLength (float length) |
| Set length to use for missing phoneme. | |
| void | setPathSound (String path) |
| Set path to the sound file or null to not play sound. | |
| void | setTextBoxText (UnicodeString text) |
| Set text box text or null to not set the text. | |
| void | setTextBoxTextStyle (StringID styleID) |
| Set text box text style. | |
| void | setTextBoxTextTranslate (String name) |
| Set translated text box text or null to use regular text box text. | |
| void | setUseSpeechAnimation (bool useSpeechAnimation) |
| Set if speech animation is used for this action. | |
Public Member Functions inherited from Dragengine.ConversationSystem.ConversationAction | |
| 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. | |
| 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 Attributes | |
| StringID | pActorID |
| Array | pBodyLookAts |
| Array | pEyesLookAts |
| Array | pFacePoses |
| Array | pGestures |
| Array | pHeadLookAts |
| float | pMinSpeechTime |
| float | pMissingPhonemeLength |
| String | pPathSound |
| Sound | pSound |
| UnicodeString | pTextBoxText |
| StringID | pTextBoxTextStyle |
| String | pTextBoxTextTranslate |
| bool | pUseSpeechAnimation |
| Array | pWords |
Public Attributes inherited from Dragengine.ConversationSystem.ConversationAction | |
| float | pDelay |
| bool | pWaitForActor |
| String | pWaitForActorID |
Protected Member Functions | |
| void | readV0 (PersistencyEnvironment env, FileReader reader) |
Conversation action making actors speak.
| void Dragengine.ConversationSystem.CActionActorSpeak.addBodyLookAt | ( | ConversationStrip | lookAt | ) |
Adds a body look-at.
| void Dragengine.ConversationSystem.CActionActorSpeak.addEyesLookAt | ( | ConversationStrip | lookAt | ) |
Adds a eyes look-at.
| void Dragengine.ConversationSystem.CActionActorSpeak.addFacePose | ( | ConversationStrip | facePose | ) |
Add face pose.
| void Dragengine.ConversationSystem.CActionActorSpeak.addGesture | ( | ConversationStrip | gesture | ) |
Adds a gesture.
| void Dragengine.ConversationSystem.CActionActorSpeak.addHeadLookAt | ( | ConversationStrip | lookAt | ) |
Adds a head look-at.
| void Dragengine.ConversationSystem.CActionActorSpeak.addWord | ( | ConversationStrip | word | ) |
Add word.
| void Dragengine.ConversationSystem.CActionActorSpeak.execute | ( | ConversationPlayback | playback | ) |
Execute action.
Reimplemented from Dragengine.ConversationSystem.ConversationAction.
| void Dragengine.ConversationSystem.CActionActorSpeak.executeGesture | ( | ConversationPlayback | playback, |
| ConversationActor | actor | ||
| ) |
Execute gesture.
| float Dragengine.ConversationSystem.CActionActorSpeak.executeSpeechAnimation | ( | ConversationPlayback | playback, |
| ConversationActor | actor | ||
| ) |
Execute speech animation.
| float Dragengine.ConversationSystem.CActionActorSpeak.executeVoiceSound | ( | ConversationPlayback | playback, |
| ConversationActor | actor | ||
| ) |
Execute voice sound.
| void Dragengine.ConversationSystem.CActionActorSpeak.forEachBodyLookAt | ( | Block | aBlock | ) |
Visits all body look-ats.
| void Dragengine.ConversationSystem.CActionActorSpeak.forEachEyesLookAt | ( | Block | aBlock | ) |
Visits all eyes look-ats.
| void Dragengine.ConversationSystem.CActionActorSpeak.forEachFacePose | ( | Block | aBlock | ) |
Visits all face poses.
| void Dragengine.ConversationSystem.CActionActorSpeak.forEachGesture | ( | Block | aBlock | ) |
Visits all gestures.
| void Dragengine.ConversationSystem.CActionActorSpeak.forEachHeadLookAt | ( | Block | aBlock | ) |
Visits all head look-ats.
| void Dragengine.ConversationSystem.CActionActorSpeak.forEachWord | ( | Block | aBlock | ) |
Visits all words.
| StringID Dragengine.ConversationSystem.CActionActorSpeak.getActorID | ( | ) |
Actor ID or null if not set.
| int Dragengine.ConversationSystem.CActionActorSpeak.getBodyLookAtCount | ( | ) |
Count of body look-ats.
| int Dragengine.ConversationSystem.CActionActorSpeak.getEyeLookAtCount | ( | ) |
Count of eye look-ats.
| int Dragengine.ConversationSystem.CActionActorSpeak.getFacePoseCount | ( | ) |
Count of face poses.
| int Dragengine.ConversationSystem.CActionActorSpeak.getGestureCount | ( | ) |
Count of gestures.
| int Dragengine.ConversationSystem.CActionActorSpeak.getHeadLookAtCount | ( | ) |
Count of head look-ats.
| float Dragengine.ConversationSystem.CActionActorSpeak.getMinSpeechTime | ( | ) |
Minimum time the actor is speaking.
| float Dragengine.ConversationSystem.CActionActorSpeak.getMissingPhonemeLength | ( | ) |
Length to use for missing phoneme.
| String Dragengine.ConversationSystem.CActionActorSpeak.getPathSound | ( | ) |
Path to the sound file or null to not play sound.
| Sound Dragengine.ConversationSystem.CActionActorSpeak.getSound | ( | ) |
Sound file loading it if not loaded already.
| UnicodeString Dragengine.ConversationSystem.CActionActorSpeak.getTextBoxText | ( | ) |
Text box text or null to not set the text.
| StringID Dragengine.ConversationSystem.CActionActorSpeak.getTextBoxTextStyle | ( | ) |
Text box text style id.
| String Dragengine.ConversationSystem.CActionActorSpeak.getTextBoxTextTranslate | ( | ) |
Translated text box text or null to use regular text box text.
| bool Dragengine.ConversationSystem.CActionActorSpeak.getUseSpeechAnimation | ( | ) |
Speech animation is used for this action.
| int Dragengine.ConversationSystem.CActionActorSpeak.getWordCount | ( | ) |
Count of words.
| CActionActorSpeak Dragengine.ConversationSystem.CActionActorSpeak.new | ( | ) |
Create conversation action.
Reimplemented from Dragengine.ConversationSystem.ConversationAction.
| CActionActorSpeak Dragengine.ConversationSystem.CActionActorSpeak.new | ( | PersistencyEnvironment | env, |
| FileReader | reader | ||
| ) |
Read from file.
Reimplemented from Dragengine.ConversationSystem.ConversationAction.
| void Dragengine.ConversationSystem.CActionActorSpeak.playVoiceAudio | ( | ConversationActor | actor, |
| Sound | sound | ||
| ) |
Play back a sound file as voice of a conversation actor.
|
protected |
| void Dragengine.ConversationSystem.CActionActorSpeak.removeAllBodyLookAt | ( | ) |
Remove all body look-at.
| void Dragengine.ConversationSystem.CActionActorSpeak.removeAllEyeLookAt | ( | ) |
Remove all eye look-at.
| void Dragengine.ConversationSystem.CActionActorSpeak.removeAllFacePoses | ( | ) |
Remove all face poses.
| void Dragengine.ConversationSystem.CActionActorSpeak.removeAllGestures | ( | ) |
Remove all gestues.
| void Dragengine.ConversationSystem.CActionActorSpeak.removeAllHeadLookAt | ( | ) |
Remove all head look-at.
| void Dragengine.ConversationSystem.CActionActorSpeak.removeAllWords | ( | ) |
Remove all words.
| void Dragengine.ConversationSystem.CActionActorSpeak.setActorID | ( | StringID | id | ) |
Set actor ID or null if not set.
| void Dragengine.ConversationSystem.CActionActorSpeak.setMinSpeechTime | ( | float | minSpeechTime | ) |
Set minimum time the actor is speaking.
| void Dragengine.ConversationSystem.CActionActorSpeak.setMissingPhonemeLength | ( | float | length | ) |
Set length to use for missing phoneme.
| void Dragengine.ConversationSystem.CActionActorSpeak.setPathSound | ( | String | path | ) |
Set path to the sound file or null to not play sound.
| void Dragengine.ConversationSystem.CActionActorSpeak.setTextBoxText | ( | UnicodeString | text | ) |
Set text box text or null to not set the text.
| void Dragengine.ConversationSystem.CActionActorSpeak.setTextBoxTextStyle | ( | StringID | styleID | ) |
Set text box text style.
| void Dragengine.ConversationSystem.CActionActorSpeak.setTextBoxTextTranslate | ( | String | name | ) |
Set translated text box text or null to use regular text box text.
| void Dragengine.ConversationSystem.CActionActorSpeak.setUseSpeechAnimation | ( | bool | useSpeechAnimation | ) |
Set if speech animation is used for this action.
| StringID Dragengine.ConversationSystem.CActionActorSpeak.pActorID |
| Array Dragengine.ConversationSystem.CActionActorSpeak.pBodyLookAts |
| Array Dragengine.ConversationSystem.CActionActorSpeak.pEyesLookAts |
| Array Dragengine.ConversationSystem.CActionActorSpeak.pFacePoses |
| Array Dragengine.ConversationSystem.CActionActorSpeak.pGestures |
| Array Dragengine.ConversationSystem.CActionActorSpeak.pHeadLookAts |
| float Dragengine.ConversationSystem.CActionActorSpeak.pMinSpeechTime |
| float Dragengine.ConversationSystem.CActionActorSpeak.pMissingPhonemeLength |
| String Dragengine.ConversationSystem.CActionActorSpeak.pPathSound |
| Sound Dragengine.ConversationSystem.CActionActorSpeak.pSound |
| UnicodeString Dragengine.ConversationSystem.CActionActorSpeak.pTextBoxText |
| StringID Dragengine.ConversationSystem.CActionActorSpeak.pTextBoxTextStyle |
| String Dragengine.ConversationSystem.CActionActorSpeak.pTextBoxTextTranslate |
| bool Dragengine.ConversationSystem.CActionActorSpeak.pUseSpeechAnimation |
| Array Dragengine.ConversationSystem.CActionActorSpeak.pWords |