How to create a unit that is in no team? Or, if it can't be done, how to make units in the same team don't share vision?
I already tried that but neutral hostile units share vision too.Use Neutral hostel?
I still didn't tried that but I think that then units will not able to see you completely even if you are very close to them.Set sight raidience to 0 for both day and night?
No it can't be done I tried that. I even tried to disable individually unit shared vision with his own player but it didn't work.I think, but am not sure, that one can even turn off shared vision with oneself, resulting in the owner not getting any LoS from his units.
Well, I was trying to do a stealth map, so maybe your stealth system can help me. I will try that tomorrow because now I can't open the wc3 world editor.Only players have limited vision, Neutral has vision all over the map, try using "share vision of neutral hostile with player1" for example. Your question is quite strange because only players can see, not units, however they can detect units (acquisition range). Maybe you can use my Faction System or Stealth System (or both) to achieve something similar to what you want.
You have not even explaind what you are after doing... I suspect what you are asking is not possible as line of sight is a player wide system.No it can't be done I tried that. I even tried to disable individually unit shared vision with his own player but it didn't work.
Yes, I suspect that too unfortunately.You have not even explaind what you are after doing... I suspect what you are asking is not possible as line of sight is a player wide system.
Thank you.Yes.
Here's the custom script to get rid of them:
Code:call RemoveRect(rect_variable)
I just tried it. It's really good but there is a fundamental problem: units are able to see over destructible. In my map there are walls which are destructibles, with this system all enemy units are going to see you even if there are walls in the middle of you and them.What you described is something like my stealth system, maybe you wanna give it a look: Stealth System
And how does your system solve that?I just tried it. It's really good but there is a fundamental problem: units are able to see over destructible. In my map there are walls which are destructibles, with this system all enemy units are going to see you even if there are walls in the middle of you and them.
And how does your system solve that?
Not exactly, the tile square is based on how far is your unit from the enemy unit. I tested it with different sized destructibles and it seems to works with all of them. I did that to prevent enemy units to keep unseeing you if you've got a destructible behind you.So if there are any destructables within a ~4*4 tile square in front of the unit they will not attack?