| 03-15-2003, 03:34 AM | #1 |
Can you have a region created in-game? Take the following for an example. I build a tower while in the middle of a game. I want it so if a unit comes near that tower something can happen, say he gets healed or moves away from it. Is this possible? emote_confused |
| 03-15-2003, 03:45 AM | #2 |
well the easiest way (which is without a region) is: trigger: event - unit is created cond - unit is type (whatever) action - add event unit comes whithin x of last created unit to trigger whatevertrigger NOTE: for the action, get an enchanced WE or convert to JASS. |
| 03-18-2003, 07:37 AM | #3 |
If you have a unit that you want to have events test on, then yes that will work but if you have no unit you cannot create a region in any area that doesnt exist before. You can move a region but not all functions work properly. I have tried many things but the real problem is events testing regions cannot be done with a variable. Any specific problems post them here or email me if you want. Good luck! |
