Questions

bess

New Member
Reaction score
2
hello.
I got some questions
1)how can i make a multiboard that is visible only to one player
2)Why my aura don't affect buildings i set target to mechanical,structure,ally.
Thank for who help me.
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
for the multiboard you've got to use Jass, something with GetLocalPlayer. Sorry i cant tell you more about this because i dont know much about it myself...

As for the aura, structures do not show buff icons of auras by default, you can go to gameplay constants and check Buildings - Building Status Display.

But even if the buff is not shown that mustnt mean it is not there, make a trigger like this and tell us if your structure has got the aura:
Code:
Untitled Trigger 001
    Events
        Player - Player 1 (Red) types a chat message containing 1 as An exact match
    Conditions
        ('YourStructure' 0013 <gen> has buff 'YourAuraBuff') Equal to True
    Actions
        Game - Display to (All players) the text: Yeah your structure...
'YourAuraBuff' is the buff of your Aura
'YourStructure' is a just a structure inside the range of your aura

If you see the game message your structure got the aura.


Also have a look at this thread! Click it!
 

Artificial

Without Intelligence
Reaction score
326
How to show a multiboard only for one player:
Code:
--- Create the multiboard and do stuff ---
Multiboard - Hide YourMultiboard
Set YourPlayer = <The player you want to show it to>
Custom Script:   if GetLocalPlayer() == udg_YourPlayer then
Multiboard - Show YourMultiboard
Custom Script:   endif
YourMultiboard is the variable your multibard is stored to, and YourPlayer is a player variable. If the player variable is named something other than YourPlayer, the first custom script needs to be modified.
Code:
Custom Script:   if GetLocalPlayer() == udg_*The Name of the Player Variable* then
And remember that the custom scripts are case sensitive. :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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