- Joined
- May 12, 2007
- Messages
- 84
How do I make it so it checks one trigger before another like
Im making a football map and I have an out of bounds trigger and if I throw the football out of bounce it automaticly makes it so the play resets and its 2nd down but If i wana go for a field goal I throw the ball between the uprights and it will say its out of bounce how would I make it so it disables out of bounce trigger for 1 play if I type -fieldgoal because I am going for a field goal If you need my triggers I will post them
Heres my triggers
Field goal 1
Im making a football map and I have an out of bounds trigger and if I throw the football out of bounce it automaticly makes it so the play resets and its 2nd down but If i wana go for a field goal I throw the ball between the uprights and it will say its out of bounce how would I make it so it disables out of bounce trigger for 1 play if I type -fieldgoal because I am going for a field goal If you need my triggers I will post them
Heres my triggers
Field goal 1
-
Field Goal 1
-
Events
-
Unit - A unit enters field goal 1 <gen>
-
-
Conditions
-
BallHeight Greater than 500.00
-
(Unit-type of (Entering unit)) Equal to Football
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between (Position of (Casting unit)) and (Target point of ability being cast)) Greater than 1.00
-
-
Then - Actions
-
Set ThrowDistance = ((Real((Strength of (Casting unit) (Include bonuses)))) x 150.00)
-
-
Else - Actions
-
Set ThrowDistance = (Distance between (Position of (Casting unit)) and (Target point of ability being cast))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BallHeight Greater than 500.00
-
(Unit-type of (Entering unit)) Equal to Football
-
-
Then - Actions
-
Unit - Remove (Entering unit) from the game
-
Set Score[1] = (Score[1] + 3)
-
Game - Display to (All players) the text: THE FIELD GOAL IS G...
-
Countdown Timer - Pause (Last started timer)
-
Set PlayStarted = False
-
Set waittime = True
-
Wait 2.50 game-time seconds
-
Trigger - Run Touchdown End <gen> (ignoring conditions)
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Unit - Remove (Entering unit) from the game
-
Game - Display to (All players) the text: THE FIELD GOAL IS N...
-
Countdown Timer - Pause (Last started timer)
-
Set PlayStarted = False
-
Set waittime = True
-
Wait 2.50 game-time seconds
-
Set OffenceDefence = 2
-
Trigger - Turn off (This trigger)
-
-
-
-
-
-
-
Field Goal 1
-
Events
-
Unit - A unit enters field goal 1 <gen>
-
-
Conditions
-
BallHeight Greater than 500.00
-
(Unit-type of (Entering unit)) Equal to Football
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between (Position of (Casting unit)) and (Target point of ability being cast)) Greater than 1.00
-
-
Then - Actions
-
Set ThrowDistance = ((Real((Strength of (Casting unit) (Include bonuses)))) x 150.00)
-
-
Else - Actions
-
Set ThrowDistance = (Distance between (Position of (Casting unit)) and (Target point of ability being cast))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BallHeight Greater than 500.00
-
(Unit-type of (Entering unit)) Equal to Football
-
-
Then - Actions
-
Unit - Remove (Entering unit) from the game
-
Set Score[1] = (Score[1] + 3)
-
Game - Display to (All players) the text: THE FIELD GOAL IS G...
-
Countdown Timer - Pause (Last started timer)
-
Set PlayStarted = False
-
Set waittime = True
-
Wait 2.50 game-time seconds
-
Trigger - Run Touchdown End <gen> (ignoring conditions)
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Unit - Remove (Entering unit) from the game
-
Game - Display to (All players) the text: THE FIELD GOAL IS N...
-
Countdown Timer - Pause (Last started timer)
-
Set PlayStarted = False
-
Set waittime = True
-
Wait 2.50 game-time seconds
-
Set OffenceDefence = 2
-
Trigger - Turn off (This trigger)
-
-
-
-
-
-
-
red field goal helper
-
Events
-
Player - Player 1 (Red) types a chat message containing -field goal as An exact match
-
-
Conditions
-
PlayStarted Equal to False
-
OffenceDefence Equal to 1
-
-
Actions
-
Unit - Move Units[1] instantly to (RawPoint offset by 650.00 towards 90.00 degrees), facing 270.00 degrees
-
Unit - Move Units[2] instantly to ((RawPoint offset by 350.00 towards 90.00 degrees) offset by 100.00 towards 180.00 degrees), facing 270.00 degrees
-
Unit - Move Units[4] instantly to (Center of Touchdown 2 <gen>), facing 270.00 degrees
-
Unit - Move Units[5] instantly to ((RawPoint offset by 130.00 towards 90.00 degrees) offset by 500.00 towards 180.00 degrees), facing 270.00 degrees
-
Unit - Move Units[6] instantly to ((RawPoint offset by 130.00 towards 90.00 degrees) offset by 500.00 towards 0.00 degrees), facing 270.00 degrees
-
Game - Display to (All players) the text: TEAM 1 IS ATTEMPTIN...
-
Trigger - Turn on Trigger
-
Trigger - Turn on Trigger
-
-
-
green field goal helper
-
Events
-
Player - Player 7 (Green) types a chat message containing -field goal as An exact match
-
-
Conditions
-
PlayStarted Equal to False
-
OffenceDefence Equal to 2
-
-
Actions
-
Unit - Move Units[1] instantly to (RawPoint offset by 650.00 towards 90.00 degrees), facing 270.00 degrees
-
Unit - Move Units[8] instantly to ((RawPoint offset by 350.00 towards 270.00 degrees) offset by 100.00 towards 180.00 degrees), facing 90.00 degrees
-
Unit - Move Units[10] instantly to (Center of Touchdown 1 <gen>), facing 90.00 degrees
-
Unit - Move Units[11] instantly to ((RawPoint offset by 130.00 towards 270.00 degrees) offset by 500.00 towards 180.00 degrees), facing 90.00 degrees
-
Unit - Move Units[12] instantly to ((RawPoint offset by 130.00 towards 270.00 degrees) offset by 500.00 towards 0.00 degrees), facing 90.00 degrees
-
Game - Display to (All players) the text: TEAM 2 IS ATTEMPTIN...
-
Trigger - Turn on Trigger
-
Trigger - Turn on Trigger
-
-
-
Out of Bounds
-
Events
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Anti Raw Point <gen> contains RawPoint) Equal to True
-
-
Then - Actions
-
Set RawPoint = (Point((X of (Center of Countfrom 1 <gen>)), 4809.00))
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Anti Raw Point2 <gen> contains RawPoint) Equal to True
-
-
Then - Actions
-
Set RawPoint = (Point((X of (Center of Countfrom 1 <gen>)), -5300.00))
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
-
-
Out Of Bounds Ending
-
Events
-
Conditions
-
Actions
-
Set Down = (Down + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for Timer) Less than or equal to 0.00
-
-
Then - Actions
-
Trigger - Run Timer Ends <gen> (ignoring conditions)
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Down Greater than 4
-
-
Then - Actions
-
Set Down = 1
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
OffenceDefence Equal to 1
-
-
Then - Actions
-
Set OffenceDefence = 2
-
Game - Display to (All players) the text: Turn-over
-
-
Else - Actions
-
Set OffenceDefence = 1
-
Game - Display to (All players) the text: Turn-over
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
Trigger - Run New Play Startup <gen> (ignoring conditions)
-
-
Last edited: