| 09-26-2006, 05:52 PM | #1 |
I am making this CTF map and I want a Hero to be able to only carry one flag at a time. And the thing is, I want the trigger to go off and stop the unit before he picks it up. I have a variable that keeps track of whose flag the unit is carrying. If I pick up another teams flag this would mean I would overwrite the previous flag with the new flags value, and this would f- the game up. So in short, I need a solution to how to get a hero to NOT pick up an item it has selected to pick up. Without the event "A unit aquires an item". |
| 09-26-2006, 06:08 PM | #2 |
| 09-26-2006, 06:20 PM | #3 |
I just tried that, and it doesn't stop my unit. It shows the text, but doesn't stop the unit. Trigger: I've tried using both Triggering Unit and Ordered Unit and neither works, the Hero keeps moving towards it and picks it up. |
| 09-26-2006, 06:23 PM | #4 |
Nvm, I'm a fuckup. |
| 09-26-2006, 06:26 PM | #5 |
Humm, it only works if I use a Wait before the entire trigger... Very odd. |
| 09-26-2006, 06:47 PM | #6 |
Pause/Order/Unpause. |
| 09-26-2006, 07:13 PM | #7 |
Pause did the trick, but I can't use text output in the same trigger. |
| 09-26-2006, 07:40 PM | #8 |
Why not? Just pause the unit, order it, unpause the unit. Has no effect on text output. |
| 09-26-2006, 07:52 PM | #9 |
Just doesn't work. It spams the text output like a billion times if I try it. |
