STAR TREK 2d20

Thread: ID_To_Name() ?

  1. #1

    ID_To_Name() ?

    Potentially a stupid question:

    Is there an existing function in CoreRPG (or the FG API) that will take an Identity and return the Identites Name, or do I need to write my own?

    I've looked, but I can't seem to find anything (apart from a note about names in ID structre being depreciated from v3.3.6)

    Thankls in advance
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  2. #2
    Working from my phone. But I think it’s something like User.getIdentityLabel(identity)

    Regards,
    JPG

  3. #3
    Yeah, I think that's where I saw the depreciation message - its cool, I can wait until you're back in front of a pc - thanks
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  4. #4
    Nope, that's the right API (User.getIdentityLabel(identity)). No depreciation message anywhere that I could find.

    JPG

  5. #5
    Cool - thanks Moon - I must have got the file incorrect

    Thanks
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in