Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. make script text longer?

make script text longer?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
2 Posts 2 Posters 66 Views 1 Watching
  • 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.
  • Aprazohundefined Offline
    Aprazohundefined Offline
    Aprazoh
    wrote on last edited by
    #1

    when i make a script that says something like:

    self IPrintLnBold( "text here" );
    

    the text shows for about 3 seconds, any way or trick to show it longer?

    JezuzLizardundefined 1 Reply Last reply
    0
    • Aprazohundefined Aprazoh

      when i make a script that says something like:

      self IPrintLnBold( "text here" );
      

      the text shows for about 3 seconds, any way or trick to show it longer?

      JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard
      Plutonium Staff
      wrote on last edited by
      #2

      Aprazoh If you want a message to stay longer you can use a hudelem in GSC.

      createserverfontstring( font, fontscale, team )
      {
          if ( isdefined( team ) )
              fontelem = newteamhudelem( team );
          else
              fontelem = newhudelem();
      
          fontelem.elemtype = "font";
          fontelem.font = font;
          fontelem.fontscale = fontscale;
          fontelem.x = 0;
          fontelem.y = 0;
          fontelem.width = 0;
          fontelem.height = int( level.fontheight * fontscale );
          fontelem.xoffset = 0;
          fontelem.yoffset = 0;
          fontelem.children = [];
          fontelem setparent( level.uiparent );
          fontelem.hidden = 0;
          return fontelem;
      }
      

      in _hud_util.gsc

      1 Reply Last reply
      0
      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
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate