CharacterSetFacialExpression
Callable
Parameters
C: Character
Character for which to set the expression of
AssetGroup: keyof ExpressionNameMap | Eyes1
Asset group for the expression
Expression: ExpressionName
Name of the expression to use
optionalTimer: number
Optional: time the expression will last, in seconds. Will send a null expression to expression queue. If expression to set is null, this is ignored.
optionalColor: ItemColor
Optional: color of the expression to set
optionalfromQueue: boolean = false
Internal: used to skip queuing the expression change if it comes from the queued expressions
Returns void
- Nothing
Sets a specific facial expression on the character's specified AssetGroup.
If there's a timer, the expression will expire after it. Note that a timed expression cannot override another one.
Be careful that "Eyes" for this function means both eyes. Use Eyes1/Eyes2 to target the left or right one only.