- Joined
- Nov 26, 2007
- Messages
- 1,964
Alright, this is something I haven't been able to figure out how to do without using a "Every X seconds of game time" check.
Basically what I need is that whenever a unit comes within sight radius of a unit with a "Torch" item, they share vision with the torch bearer so that they get their sight radius. Logically this means that I should be able to see farther when I'm next to someone carrying a torch.
This is because night radius in my map is ridiculously low, and shared vision is off for all players. Purpose of this spell is when X unit comes near Y unit, condition being Y unit has a torch item, then X unit is granted vision of Y unit until he leaves Y unit's sight radius again. (Doesn't have to actually make the player share vision since that would apply to all of his units. Maybe something like Faeire Fire that only grants vision of the unit?)
Sight radius is around 1000-ish, but it shouldnt really matter as I should be able to modify it if necessary.
I suppose this would be difficult to accomplish in GUI without a lot of lag (Which is what I use...)
Thanks to anyone in advance.
Note that while MUI is preferable , if you can only do it MPI I'll make do.
Basically what I need is that whenever a unit comes within sight radius of a unit with a "Torch" item, they share vision with the torch bearer so that they get their sight radius. Logically this means that I should be able to see farther when I'm next to someone carrying a torch.
This is because night radius in my map is ridiculously low, and shared vision is off for all players. Purpose of this spell is when X unit comes near Y unit, condition being Y unit has a torch item, then X unit is granted vision of Y unit until he leaves Y unit's sight radius again. (Doesn't have to actually make the player share vision since that would apply to all of his units. Maybe something like Faeire Fire that only grants vision of the unit?)
Sight radius is around 1000-ish, but it shouldnt really matter as I should be able to modify it if necessary.
I suppose this would be difficult to accomplish in GUI without a lot of lag (Which is what I use...)
Thanks to anyone in advance.
Note that while MUI is preferable , if you can only do it MPI I'll make do.