|
Drag[en]gine Script Module DragonScript 1.32.1
|
Simple conversation actor definition. More...
Public Member Functions | |
| void | addGesture (StringID gesture) |
| Add gesture. | |
| void | forEachGesture (Block ablock) |
| Visit gestures with block. | |
| StringID | getActorId () |
| Conversation actor identifier or alias. | |
| StringID | getCamera () |
| Identifier of camera to switch to. | |
| float | getDelay () |
| Delay in seconds before activating action. | |
| StringID | getFacePose () |
| Face pose or null. | |
| StringID | getGestureAt (int index) |
| Gesture at index. | |
| int | getGestureCount () |
| Count of gestures. | |
| StringID | getId () |
| Identifier. | |
| StringID | getLookAt () |
| Look-at or null. | |
| float | getProlongLastGesture () |
| Amount of seconds to prolong last gesture beyond end of speech. | |
| StringID | getStyle () |
| Text box text style or null. | |
| bool | getUseSpeechAnimation () |
| Speech animation is used for this action. | |
| SimpleConversationActor | new (SimpleConversationActor actor) |
| Create copy of simple conversation camera definition. | |
| SimpleConversationActor | new (StringID id) |
| Create simple conversation camera definition. | |
| void | setActorId (StringID identifier) |
| Set conversation actor identifier or alias. | |
| void | setCamera (StringID camera) |
| Set identifier of camera to switch to. | |
| void | setDelay (float seconds) |
| Set delay in seconds before activating action. | |
| void | setFacePose (StringID facePose) |
| Set face pose or null. | |
| void | setLookAt (StringID lookAt) |
| Set look-at or null. | |
| void | setProlongLastGesture (float seconds) |
| Set amount of seconds to prolong last gesture beyond end of speech. | |
| void | setStyle (StringID style) |
| Set text box text style or null. | |
| void | setUseSpeechAnimation (bool useSpeechAnimation) |
| Set if speech animation is used for this action. | |
Public Attributes | |
| StringID | pActorId |
| StringID | pCamera |
| float | pDelay |
| StringID | pFacePose |
| Array | pGestures |
| StringID | pId |
| StringID | pStyle |
| bool | pUseSpeechAnimation |
Simple conversation actor definition.
Defines initial parameters to use when switching to an actor speaking.
| void Dragengine.ConversationSystem.SimpleConversationActor.addGesture | ( | StringID | gesture | ) |
Add gesture.
| void Dragengine.ConversationSystem.SimpleConversationActor.forEachGesture | ( | Block | ablock | ) |
Visit gestures with block.
Block is required to have signature void(StringID gesture) or void(int index, StringID gesture).
| StringID Dragengine.ConversationSystem.SimpleConversationActor.getActorId | ( | ) |
Conversation actor identifier or alias.
| StringID Dragengine.ConversationSystem.SimpleConversationActor.getCamera | ( | ) |
Identifier of camera to switch to.
| float Dragengine.ConversationSystem.SimpleConversationActor.getDelay | ( | ) |
Delay in seconds before activating action.
Default value is 0.25.
| StringID Dragengine.ConversationSystem.SimpleConversationActor.getFacePose | ( | ) |
Face pose or null.
| StringID Dragengine.ConversationSystem.SimpleConversationActor.getGestureAt | ( | int | index | ) |
Gesture at index.
| int Dragengine.ConversationSystem.SimpleConversationActor.getGestureCount | ( | ) |
Count of gestures.
| StringID Dragengine.ConversationSystem.SimpleConversationActor.getId | ( | ) |
Identifier.
| StringID Dragengine.ConversationSystem.SimpleConversationActor.getLookAt | ( | ) |
Look-at or null.
| float Dragengine.ConversationSystem.SimpleConversationActor.getProlongLastGesture | ( | ) |
Amount of seconds to prolong last gesture beyond end of speech.
Default value is 0.25.
| StringID Dragengine.ConversationSystem.SimpleConversationActor.getStyle | ( | ) |
Text box text style or null.
| bool Dragengine.ConversationSystem.SimpleConversationActor.getUseSpeechAnimation | ( | ) |
Speech animation is used for this action.
| SimpleConversationActor Dragengine.ConversationSystem.SimpleConversationActor.new | ( | SimpleConversationActor | actor | ) |
Create copy of simple conversation camera definition.
| SimpleConversationActor Dragengine.ConversationSystem.SimpleConversationActor.new | ( | StringID | id | ) |
Create simple conversation camera definition.
| void Dragengine.ConversationSystem.SimpleConversationActor.setActorId | ( | StringID | identifier | ) |
Set conversation actor identifier or alias.
| void Dragengine.ConversationSystem.SimpleConversationActor.setCamera | ( | StringID | camera | ) |
Set identifier of camera to switch to.
| void Dragengine.ConversationSystem.SimpleConversationActor.setDelay | ( | float | seconds | ) |
Set delay in seconds before activating action.
| void Dragengine.ConversationSystem.SimpleConversationActor.setFacePose | ( | StringID | facePose | ) |
Set face pose or null.
| void Dragengine.ConversationSystem.SimpleConversationActor.setLookAt | ( | StringID | lookAt | ) |
Set look-at or null.
| void Dragengine.ConversationSystem.SimpleConversationActor.setProlongLastGesture | ( | float | seconds | ) |
Set amount of seconds to prolong last gesture beyond end of speech.
| void Dragengine.ConversationSystem.SimpleConversationActor.setStyle | ( | StringID | style | ) |
Set text box text style or null.
| void Dragengine.ConversationSystem.SimpleConversationActor.setUseSpeechAnimation | ( | bool | useSpeechAnimation | ) |
Set if speech animation is used for this action.
| StringID Dragengine.ConversationSystem.SimpleConversationActor.pActorId |
| StringID Dragengine.ConversationSystem.SimpleConversationActor.pCamera |
| float Dragengine.ConversationSystem.SimpleConversationActor.pDelay |
| StringID Dragengine.ConversationSystem.SimpleConversationActor.pFacePose |
| Array Dragengine.ConversationSystem.SimpleConversationActor.pGestures |
| StringID Dragengine.ConversationSystem.SimpleConversationActor.pId |
| StringID Dragengine.ConversationSystem.SimpleConversationActor.pStyle |
| bool Dragengine.ConversationSystem.SimpleConversationActor.pUseSpeechAnimation |