terça-feira, 5 de abril de 2016

BP Compendium: Format text

Format text


Node that builds a text based on parameters that can be specified in the "format" property.

Input

  • Target: Object that has the event that receives the bind.
  • Event: Reference to an event that will be bind to another event, to be called later.

Output

  • Result: Final text build with the values of the format parameter and the other parameters.


Example Usage

At the end of a match a text will appear with the result. This text contains the values of 4 variables related to the names and scores of two players.

The text used in the "format" parameter  was:

Result: {Player1Name} = {Player1Score} X {Player2Name} = {Player2Score}

After placing the value of "Format", the Blueprint editor generates the other input parameters.

The image below shows the Format Text node.

Click to enlarge


This is an example of the generated text: