- Joined
- Nov 28, 2008
- Messages
- 704
So I am having a bit of trouble with the spell "Chaos"
It is very simple: a unit chaosed changes, but does not trigger an "enter region" event like creating a unit, which seriously messes up one of my triggers.
Assumably, I can simulate the enter through moving the unit to a place and back - but wait! The chaosed unit has some issues with not actually being the same variable. So I have to repick it.
Question then: what is the most efficient, lagless and foolproof way of doing this? I could create a group and constantly look in the place of this chaosed unit until I find the ID of the thing the chaos would change him into. I could add a wait in there, or add a loop. But tehre could also be units of the same ID, which would mess it up. So how then should I do it?
It is very simple: a unit chaosed changes, but does not trigger an "enter region" event like creating a unit, which seriously messes up one of my triggers.
Assumably, I can simulate the enter through moving the unit to a place and back - but wait! The chaosed unit has some issues with not actually being the same variable. So I have to repick it.
Question then: what is the most efficient, lagless and foolproof way of doing this? I could create a group and constantly look in the place of this chaosed unit until I find the ID of the thing the chaos would change him into. I could add a wait in there, or add a loop. But tehre could also be units of the same ID, which would mess it up. So how then should I do it?