| 01-25-2005, 05:13 PM | #1 |
When i play my ctf map there is a bug. When i enter the region that will make me score, I won't score... if i enter it from the left side of the circle(if it is at the south, right if it is at the north and up if it is at west and so on) first then the falg will be captured.. How to fixx this? TheTrigger: Code:
Events
Unit - A unit enters NSCORE <gen>
Unit - A unit enters OSCORE <gen>
Unit - A unit enters USCORE <gen>
Conditions
And - All (Conditions) are true
Conditions
((Entering unit) has Human Flag 0069 <gen>) Equal to True
Or - Any (Conditions) are true
Conditions
And - All (Conditions) are true
Conditions
(NSCORE <gen> contains (Entering unit)) Equal to True
Or - Any (Conditions) are true
Conditions
(Owner of (Entering unit)) Equal to Player 10 (Light Blue)
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
(Owner of (Entering unit)) Equal to Player 12 (Brown)
And - All (Conditions) are true
Conditions
(OSCORE <gen> contains (Entering unit)) Equal to True
Or - Any (Conditions) are true
Conditions
(Owner of (Entering unit)) Equal to Player 4 (Purple)
(Owner of (Entering unit)) Equal to Player 5 (Yellow)
(Owner of (Entering unit)) Equal to Player 6 (Orange)
And - All (Conditions) are true
Conditions
(USCORE <gen> contains (Entering unit)) Equal to True
Or - Any (Conditions) are true
Conditions
(Owner of (Entering unit)) Equal to Player 7 (Green)
(Owner of (Entering unit)) Equal to Player 8 (Pink)
(Owner of (Entering unit)) Equal to Player 9 (Gray)
Actions
Quest - Display to (All allies of Player 1 (Red)) the Hint message: ((Name of (Owner of (Hero manipulating item))) + has stolen your flag! (it is probably back at your base now!))
Item - Move Human Flag 0069 <gen> to (Position of Flag (Custom) 0016 <gen>)
Quest - Display to (All allies of (Owner of (Entering unit))) the Secret message: You have achieved |...
Hero - Add 250 experience to (Entering unit), Show level-up graphics
Player Group - Pick every player in (All allies of (Owner of (Entering unit))) and do (Actions)
Loop - Actions
Player - Add 500 to (Picked player) Current gold
Player - Add 1 to (Owner of (Entering unit)) Current lumber |
| 01-25-2005, 05:47 PM | #2 |
Well i didnt see..... But 2 things - check the conditions -make debug by a output => ie make a newtrigger event ur event condition ur condition action display "condition are true" u can include this directly in ur trigger if u want.... |
| 01-25-2005, 06:10 PM | #3 | |
Quote:
Well... Thanks... I think i will recreate the trigger... before it worked correctly but for maybe a week ago the bug started.. why i don''t know.. thanks btw |
| 01-25-2005, 08:01 PM | #4 |
Use the code tags to get your trigger spaced in a readable fashion. |
| 01-26-2005, 12:01 PM | #5 | |
Quote:
Thanks ![]() |
