Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
Hard to condense sensible question in thread title.
Basically, I want to test whether one plot is a potential ranged target for another plot, assuming a ranged unit without indirect fire. The complication is I want to do this before placing the ranged unit, so I can't do the test on a unit object.
Does anyone know if there is a reasonable way to do this? The code will run in Lua, although I can mod dll to expose new Lua method if it helps.
Basically, I want to test whether one plot is a potential ranged target for another plot, assuming a ranged unit without indirect fire. The complication is I want to do this before placing the ranged unit, so I can't do the test on a unit object.
Does anyone know if there is a reasonable way to do this? The code will run in Lua, although I can mod dll to expose new Lua method if it helps.