Well, for the "in front" region you would need a big (JASS) algorithm whic I failed to do. With that algorithm you can enum units in that region and this is where I stopped.......what now? How to make them invisible for only one player? Unfortunately, you can't add abilities for only one player (using GetLocalPlayer()), that really sucks, otherwise I'd use invisibility or something.
I believe there is not way, but I could, of course, be wrong. If anyone has an idea, shoot, but I tried everything I know.
Uhm....you don't see with units, you see from a third person camera perspective (if that's what it's called). Even if you somehow manage to do that, that would have to depend on the unit you selected, right? What if you select multiple units? You would also have to include a limit range of the unit's sight.......wc3 is not an RPG, you know
I've been thinking about this for quite a long time. Wanted to make some realistic modern map, and I really need to know if that's possible to make it so any unit in the map (normal view) only reveals a cone of land in front of them, well their field of view.
No first person, no bs, I just want to know if that's possible and how it would work out with multiple units, simultaneously, for each player in the map.
you could make your units sight range 0 then move 'sight' regions with a forward offset, you would need alot of theese if you wanted a triangle view since regions cant be triangular, but you could do it pretty good with a square view, if you want help with the triggers just pm me
🔨 Hive's 3D Viewer has been updated! 🔨 It now supports MDX1100 which should fix a lot of issues when viewing HD models in our 3D Viewer. We encourage you to check it out for yourself and report any issues you find in the Site Discussion board.