Drag[en]gine Script Module DragonScript Script API  1.0
ConversationTagResolverRule Interface Reference

Rule for resolving a tag in actor speak action text. More...

Inheritance diagram for ConversationTagResolverRule:
CTRRBinding CTRRStyle

Public Member Functions

void resolveTag (StyledTextDefinition styledText, STDNText textNode, String parameters)
 Resolve tag outputing result to styled text. More...
 

Detailed Description

Rule for resolving a tag in actor speak action text.

Tags in actor speak allow to alter the text box content dynamically while creating the sub title text widget. Supports tags of the form {action[:params]} with optional parameters after action. The special tag {{ prints a single { character. Output is a StyledTextDefinition.

Member Function Documentation

§ resolveTag()

void resolveTag ( StyledTextDefinition  styledText,
STDNText  textNode,
String  parameters 
)

Resolve tag outputing result to styled text.

Parameters
styledTextStyled text to add resolved text to.
textNodeText node to add text to.
parametersParameters inside tag.

Implemented in CTRRBinding, and CTRRStyle.


The documentation for this interface was generated from the following file: