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.
 

Cloud_FF

New Member
Reaction score
5
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
 
Reaction score
456
You know.. having like 0.50% chance for something to happen when an unit dies.. very unlikely that it'll happen :p.
 

Exide

I am amazingly focused right now!
Reaction score
448
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
 

Cloud_FF

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

MaEt-ReLLiK

Guest
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.
 

Cloud_FF

New Member
Reaction score
5
So what you mean is...that I use a variable which uses all players instead of the (All Players)?
 

vypur85

Hibernate
Reaction score
803
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'.
 

Cloud_FF

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

vypur85

Hibernate
Reaction score
803
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.
 

Cloud_FF

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

Cloud_FF

New Member
Reaction score
5
Still doesn't work. I used the Player Group variable, nothing. Any other suggestions someone?
 

Razed

New Member
Reaction score
44
I'm just hear to tell you that you shouldn't double post twice in the same thread...
 

Cloud_FF

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

      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