Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

ShroudGetPartyMemberNamesInScene() needs better order

Discussion in 'User Interface (Including Launcher)' started by Tiina Onir, Nov 29, 2019.

Tags:
  1. Tiina Onir

    Tiina Onir Avatar

    Messages:
    1,062
    Likes Received:
    1,823
    Trophy Points:
    125
    Location:
    Bramble, South Paladis
    1. Title: ShroudGetPartyMemberNamesInScene() needs better order
    2. Reproduction Rate: 100%
    3. Blocker?No
    4. Details: ShroudGetPartyMemberNamesInScene() is presently sorted by the order the players entered the scene, while the "Nameplate list" is sorted by the order in which the players entered the party. Because the "nameplate list" sorting is used for the "F-key" shortcuts for targeting, to allow us to let the player know about the "F-key shortcuts", we need the orders to match.
    5. Steps to Reproduce:
      1. Join 3 players to part
      2. have them enter into a scene in the order they joined the party
      3. output ShroudGetPartyMemberNamesInScene()
      4. have them leave the scene
      5. have them reenter the scene in the OPPOSITE order they joined the party
      6. output ShroudGetPartyMemberNamesInScene() again
    I tested this using the "\PartyMembers" command in this Lua Script: https://github.com/sotadb/LuaScripts/blob/master/info.sotadb.util.lua Along with the assistance of @Donniebrasco and @devilcult