make unavailable

monar

New Member
Reaction score
0
Why this trigger dont work, pls?

When I type -noair nothing happens, I still can train shadow and others.


Code:
No Air
    Events
        Player - Player 1 (Red) types a chat message containing -noair as An exact match
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Player - Make StÃ_n Unavailable for training/construction by (Picked player)
                Player - Make Smrtonoška Unavailable for training/construction by (Picked player)
                Player - Make Mrazivý wyrm Unavailable for training/construction by (Picked player)

thx for all replys
;)
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Try using an Integer Loop instead, like this:
Code:
Unavailable
    Events
    Conditions
    Actions
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                Player - Make Footman Unavailable for training/construction by (Player((Integer A)))
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
I think I might know what the problem is.
It could be because you are selling units instead of training them.
It may not prevent that through the trigger.
 

SFilip

Gone but not forgotten
Reaction score
634
Player - Limit Training Of Unit-Type.
Make the limit 0.
 
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