Dialoggestures
Info
Dependencies:
- AI_Function
Implementation:
Dialoggestures.d on GitHub
This package can modify the NPCs' gestures during dialogue to better bring out emotions.
Initialization
N/A
Functions
DIAG
DIAG
With this function the dialog gestures for all NPCs can be overridden. To understand the principle, it is recommended to take a look at the examples.
The full name of the animation can be described as follows:
DIAG_Prefix
and DIAG_Suffix
are user constants. var string AniName
The new dialogue gesturevar int Min
Lowest animation numbervar int Max
Highest animation number
DIAG_Reset
DIAG_SetAni
DIAG_SetAni
Sets animation directly.
var string AniName
Animation name
DIAG_SetMinMax
DIAG_SetMinMax
Sets animation numbers directly.
var int min
Lowest animation numbervar int max
Highest animation number
Examples
Note
See Examples in the Trialoge article.