Trigger Needed

gofd.pwn_u

New Member
Reaction score
0
so im making a exit from a place on my map i have 2 exits and need a trigger so that only people from team 1 can enter exit 1 and only people from team 2 can enter exit 2. i was wondering if someone could write me one up i cant seem to find a way to make it so only the certain people can go onto the exits.
 

oorosco

New Member
Reaction score
23
make a variable that is a boolean, "team 1" "team 2"
Code:
event: 
Unit enteres exit region 1
condition:
if team 1 is equal to false
owner of triggering unit is allied to player 1 equal to true
action:
move triggering unit instantly to exit of exit 1
set team 1 equal to true


And then same thing for team two and there you go :D
 

cleeezzz

The Undead Ranger.
Reaction score
268
those are conditions, in order to use an IF condition, you must use an IF/THEN/ELSE in the actions.
 
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