i hope you understand my english,
I have 8 players in my map
when PvP_Time3 expires, it will move in PvP area
now my problem is my AI allies still attacking me?
I already put this
here's my trigger for pvp
I have 8 players in my map
when PvP_Time3 expires, it will move in PvP area
now my problem is my AI allies still attacking me?
I already put this
-
ANTI attack team
-
Events
- Unit - A unit Is attacked
-
Conditions
- ((Attacking unit) is A Hero) Equal to True
- ((Attacking unit) is A ground unit) Equal to True
- ((Owner of (Attacking unit)) is an ally of (Owner of (Attacked unit))) Equal to True
-
Actions
- Unit - Order (Attacking unit) to Stop
-
Events
here's my trigger for pvp
-
TwovsTwotimerMODE
-
Events
- Time - PvP_Time3 expires
- Conditions
-
Actions
- Trigger - Turn on FFAtimer <gen>
- Unit - Pause all units
- Wait 0.10 seconds
- Unit - Unpause all units
-
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Integer A) Not equal to (Player number of (Picked player))
-
Then - Actions
- Player - Make (Picked player) treat (Player((Integer A))) as an Enemy
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
Events
Last edited: