Messages or No Messages

Cloud_FF

New Member
Reaction score
5
I am having a weird problem. For some reason game messages don't display in game. I use those triggers:

Code:
Game - Display to (All Players) the text: Is this thing on?

For some reason the game does not display the message. It is timed 20 seconds after map initialisation. Any ideas how to fix it?

P.S. I also have a variable which is a Player Group variable.
 
No.

Game Initialisation > Wait 20.00 seconds > Game - Display to (All Players) the text: Is this thing on?

In some cases the Game text message is triggered by an event such as:

Code:
Event:
Unit Dies

Condition:
Unit - Unit-type of (triggering unit) equal to Enemy

Action:
Set RandomInteger = (Random integern mnumber between 1 and 200)
If (All action are True) then do (Then Action) else do (Else Actions)
   If - Conditions
      RandomInteger Equal to 1
   Then - Actions
      Game - Display to (All players) the text: One in 200!
   Else - Actions
      Do nothing
 
You know.. having like 0.50% chance for something to happen when an unit dies.. very unlikely that it'll happen :p.
 
Instead, you could do this:

Code:
Game - Display to (All players) the text: (Random integer number between 1 and 200)

I have no idea what your trigger is for, though? :p
 
The 1 in 200 is the action according to which the game message has 1 in 200 to be shown. I know that it's a low number. It is intended so. Most other triggers use 1 in 5000 not in 200. The point is that the actions do not display text messages in game.
 
I've had troubles with that action in the past. The (All Players) never displayed the text, so I tried a different way.

Code:
Actions
    For each (Integer A) from 1 to 12, do (Actions)
        Loop - Actions
            Game - Display to (Player group((Player((Integer A))))) the text: One in 200!

Hope this helps.
 
So what you mean is...that I use a variable which uses all players instead of the (All Players)?
 
Did you happen to destroy any 'Allplayers'?

Code:
Set Temp_Force = (All player)
-[I]Actions[/I]-
call DestroyForce (udg_Temp_Force)

If so, 'All players' do not leak, you don't have to destroy it. Once destroyed, it's no longer in existence. That's why it can display to 'no players' even though you displayed it to 'All players'.
 
Thanks. I don't think I'll need to destroy it, because this is a constant factor and ...eh well for safety I'll destroy it. :) Thanks
 
Not sure what you mean? I hope you mean that you're not supposed to destroy it. 'All player' doesn't leak. So, I'll assume that was indeed your problem why the message did not display.

Edit:
No... You're NOT supposed to destroy 'All player'. I was asking whether did you destroyed it? It could be the reason why the message didn't display. If you didn't destroy it, then it's fine, the problem wasn't caused by this.

Anyway, it's a 'Player' variable.

Edit:
Sorry... Should be 'Player group' variable.
 
Ah. Right. K. Tanks. :p

P.S. You can't set a Player Variable to (All Players) so the trigger can't be created : /

Edit: Ok, will try again :p
 
Still doesn't work. I used the Player Group variable, nothing. Any other suggestions someone?
 
I'm just hear to tell you that you shouldn't double post twice in the same thread...
 
I still fail to see where I repeat...anyway, no I don't destroy it.

P.S. Ok I see where I repeat myself...lol I spent 3 hours making the thread because I'm doing a lot of things :D Didn't even check if anything was repeating lol.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      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