| 09-02-2003, 09:38 PM | #1 |
Please, somebody tell me you can find something wrong with this code! The code in the .jpg below is trying to do the following: Run whenever the player orders a unit Check what order the unit has been given If it's an attack order, OK (I'm gonna get there later) If it's a "feral spirit" order, OK If it's "Stop," OK! But if not, then don't let the ordered unit move at all and tell it to stop. When I run the test map, I click my unit and right-click over on the groud somewhere, these are the messages that the Game Text actions produce, in order: smart stop stop So he IS being ordered to stop, once while he is paused, and again when he becomes UNpaused. So why, oh why, does he run across the screen to wherever I right-click?? It's driving me NUTS! |
| 09-02-2003, 09:47 PM | #2 |
heh... just needed to add a "wait 0.00 seconds" between pausing him and stopping him! Curse you, "wait 0.00 seconds!" CURSE YOU!!!! // Ligature |
