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.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
Is there any point at which you set a Player Group variable to All Players and then destroy it?
 

Demonfaze

8 yrs. Hell, it's been a long time.
Reaction score
72
Not destroying it, but clearing it yes.

EDIT: Looks like that's the problem, thanks.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
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.
 

Technomancer

New Member
Reaction score
14
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.
 

Demonfaze

8 yrs. Hell, it's been a long time.
Reaction score
72
I wish NewGen WE would catch that in "Debug" mode. :)

On another note, what exactly is "initilizing variables?"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top