TD question

0rcL0rd

New Member
Reaction score
1
when i tested my TD map ingame with other players it seemes that players can attack eachothers towers, does anybody know how i can turn that off?
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
Code:
Untitled Trigger 004
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) belongs to an ally of (Owner of (Attacked unit))) Equal to True
    Actions
        Unit - Order (Attacking unit) to Stop
 

Ticer

New Member
Reaction score
2
Another way is to change what targets your towers are allowed to attack. i.e. making it so your towers allowed targets is something like they can only hit "enemy, organic" or something like that.
 

LiVam

New Member
Reaction score
1
Code:
Untitled Trigger 004
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) belongs to an ally of (Owner of (Attacked unit))) Equal to True
    Actions
        Unit - Order (Attacking unit) to Stop

NOT a good idea. This will force a trigger causing massive lag when the amount of towers and units in the game is high.

Just make it impossible for towers to target buildings.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
No its a short MUI Trig it wont cause lag
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
NOT a good idea. This will force a trigger causing massive lag when the amount of towers and units in the game is high.

Just make it impossible for towers to target buildings.

i habe played MANY maps that are using triggers simulary to this, YET i have never lagged on these maps

its up to you l0rd if you want to use it or not
 

Faust

You can change this now in User CP.
Reaction score
123
The trigger doesn't create anything or loop, it doesn't lag whatsoever.
 
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