Floating Text Position

Nathan0093

New Member
Reaction score
4
I want floating text to display properly in the middle of the map when it comes up like when gold mine is running low warning. Also, how do I make it disappears? I tried disabling permanence or setting age span but neither worked.
 

Zanar

New Member
Reaction score
7
Do you want it appear in the middle of the map or in the middle of the camera?
 

Nathan0093

New Member
Reaction score
4
Middle of the current camera view for a particular player, like other notices and warnings in melee games.
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
Warnings like those always appear as game text, not floating text.
 

Nathan0093

New Member
Reaction score
4
Well then is there a way to make game text displays messages to only the owner of the triggering unit? Apparently it's not one of the functions.
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
You can change the messages you get under Gameplay Interface. I don't know if there's one for gold mines, though :rolleyes:
 

Alphabet

New Member
Reaction score
12
Well then is there a way to make game text displays messages to only the owner of the triggering unit?
Yes, there is.
Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        (Owner of (Triggering unit)) Equal to Player 1 (Red)
    Then - Actions
        Game - Display to Player Group - Player 1 (Red) the text: (Your text here)
    Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Owner of (Triggering unit)) Equal to Player 2 (Blue)
            Then - Actions
                Game - Display to Player Group - Player 2 (Blue) the text: (Your text here)
(And so on)

E: You can't choose 'Player Group - Player [Integer A]'. There are only the presets. :(
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
Or, do this (possibly):
Code:
For every (Integer A) from 1 to 12:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        (Owner of (Triggering unit)) Equal to Player [Integer A]
    Then - Actions
        Game - Display to Player Group - Player [Integer A] the text: (Your text here)
    Else - Actions
 
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