Hi guys! A little while ago I posted about having units firing over walls which have the collisions set to building and ground. I got that all sorted by using a combination of the Melee Flag on the majority of units weapons. The problem I have now is with units that have no missile such as a siege tank, that because they have no missile to collide with the walls they easily fire over the walls when they are given vision. It's not a issue when they have vision over the wall, but I have tried numerous validators such as Location Range, Location Pathable, Unit Order Target Pathable etc, and none seem to work properly. If I can make it work on these units then I can easily add it to the other units to make sure they dont fire over the walls, because it becomes extremely unfair if they are given vision. With one unit I couldn't work it out so I made it passive and just do a periodic trigger which detects units and makes it fire on them. The only reason I am using structures instead of cliffs is that I need to dynamically modify them. If you want to check out the map at the moment its on NA under Rally Wars. Anyone got any ideas on how to fix it?
EDIT: I worked out a much simpler solution, change the ownership of the units that switch lanes when they attack, but still give the bounty to the original owner. Simple!
Hi guys! A little while ago I posted about having units firing over walls which have the collisions set to building and ground. I got that all sorted by using a combination of the Melee Flag on the majority of units weapons. The problem I have now is with units that have no missile such as a siege tank, that because they have no missile to collide with the walls they easily fire over the walls when they are given vision. It's not a issue when they have vision over the wall, but I have tried numerous validators such as Location Range, Location Pathable, Unit Order Target Pathable etc, and none seem to work properly. If I can make it work on these units then I can easily add it to the other units to make sure they dont fire over the walls, because it becomes extremely unfair if they are given vision. With one unit I couldn't work it out so I made it passive and just do a periodic trigger which detects units and makes it fire on them. The only reason I am using structures instead of cliffs is that I need to dynamically modify them. If you want to check out the map at the moment its on NA under Rally Wars. Anyone got any ideas on how to fix it?
EDIT: I worked out a much simpler solution, change the ownership of the units that switch lanes when they attack, but still give the bounty to the original owner. Simple!