Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Solved] FontString only in spectator HUD

[Solved] FontString only in spectator HUD

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
1 Posts 1 Posters 345 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • vivia1990undefined Offline
    vivia1990undefined Offline
    vivia1990
    Contributor
    wrote on last edited by vivia1990
    #1

    Hi,
    I'm new with gsc modding and i really don't understand a thing atm.
    When you are in spectator mode, specting someone, you see his HUD (+ some other things es 3d person etc...).
    So if i create some fontString for the player HUD (i.e. a welcome message) even the spectator can see that.
    But in my case that's not a problem.
    Anyway now i want to create a fontString for the spectator HUD only, is it possible?
    Because when i create the message, for the spectator user, it doesn't appear (because he's looking at the current spectating player HUD i think).
    And anyway when the player spawn the message will show up, so it's not a problem of the message itself.
    In short, Is there a way to edit the spectator's HUD and showing some messages only to them?

    Thanx

    -- Edit
    I solved! Just use this property -> message.archived = 0;
    Idk why it works but... it works ♥

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Unread 0
    • Recent
    • Tags
    • Popular
    • Users
    • Groups