playMaker

Author Topic: Adding text Prefix and suffix[SOLVED]  (Read 179 times)

heavygunner

  • Full Member
  • ***
  • Posts: 146
    • View Profile
Adding text Prefix and suffix[SOLVED]
« on: December 18, 2018, 01:31:05 PM »
Hi !

on my game, 2(Int) XP will be added when player did Perfect jump and 3 XP will be added on kill.

When he did one of above action, a text something like +2 XP should be displayed on UI. How to display that perfectly ?

Currently, I have + {} XP template. 3 separate text elements. {} will be use converted string.

Any easy way to display ?
« Last Edit: December 20, 2018, 02:23:25 AM by jeanfabre »

Thore

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: Adding text Prefix and suffix
« Reply #1 on: December 18, 2018, 03:49:04 PM »
Use the build string action.

When you open the action browser, check “preview” at the bottom and look through related actions for what you’re trying to do, e.g. the String section.