Newgen WE Text Bug

Demonfaze

8 yrs. Hell, it's been a long time.
Reaction score
72
I'm using Newgen WE, and I suddenly noticed my game display text's wouldn't work.

To make absolutely certain that my problem wasn't in my scripting, I made a simple GUI trigger (below).

Code:
Test Message
    Events
        Player - Player 1 (Red) types a chat message containing -test as An exact match
    Conditions
    Actions
        Game - Display to (All players) for 30.00 seconds the text: asdgasfd

This trigger does not display the text message when I type -test. Any suggestions?

Thanks in advance.
 
Is there any point at which you set a Player Group variable to All Players and then destroy it?
 
Not destroying it, but clearing it yes.

EDIT: Looks like that's the problem, thanks.
 
Just a post-mortem explanation. :p

All Players is a global variable already. It's always there.
Consequently, it doesn't ever leak. But if you get rid of it... it won't function ever again. For that game, anyway.
 
Just a post-mortem explanation. :p

All Players is a global variable already. It's always there.
Consequently, it doesn't ever leak. But if you get rid of it... it won't function ever again. For that game, anyway.

+rep, lol you just fixed a problem in my map.
 
I wish NewGen WE would catch that in "Debug" mode. :)

On another note, what exactly is "initilizing variables?"
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top