1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

How to cast int to string?

Discussion in 'Visual Scripting' started by DoYouVHS, Mar 17, 2019.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. DoYouVHS

    DoYouVHS Trainee Engineer

    Messages:
    3
    Hello, I'm working on a small mod that will allow the game to randomly pick and load a stage, then to load and run something like deathmatch or a FPS. I wanted to use a notification to show the time remaining at some points, but for some reason the blocks won't automatically convert an int to a string for an input when needed, even if I try to add a string to it. Is there any way to use my ints as strings? Thanks for any support!

    DoYouSellVHS
     
  2. 666Savior

    666Savior Apprentice Engineer

    Messages:
    197
    In the function list expand the 'VRage.Game.VisualScripting' list then expand the 'String' list. There should be 'IntToString' in that list, along with a few others
     
  3. DoYouVHS

    DoYouVHS Trainee Engineer

    Messages:
    3
    ? I don't see the "string" list in the functions groups.


    EDIT: Whoops, was using an outdated version! sorry!
     
    Last edited: Mar 17, 2019
Thread Status:
This last post in this thread was made more than 31 days old.