| 04-28-2004, 12:35 AM | #1 |
is there a bug in move region? because in this map you will see the that the region doesn't fully move, as it only accepts events in the area that it was originaly and actions to where its destination is, here try this test map, make the archmage cast a spell, then move a foot close to him, you will see a special effect, move the archmage then cast a spell again, the region should move under the archmage, but it doesn't. Take a look. |
| 04-28-2004, 01:45 AM | #2 |
That's the way events work, you "Register" a certain event for specific condition. F.ex. if a unit enters region. However, as these events are registered, they don't use variables, as variables can change. So it most likely internally creates a new rect to work with or something similar. This is true for all event-types. So, these are solutions: Continue to add events to the trigger every time you move the rect, or, as this can be problematic, as the old events will stay in effect, destroy the trigger, create a new one, add a new event to it with the new position of the rect. Or Use a periodic trigger that checks if a unit is inside a rect. Cubasis |
| 04-28-2004, 02:17 AM | #3 |
ahhh i see now, thank you very much |
