luorax
Invasion in Duskwood
- Reaction score
- 67
I've already opened a thread about this like a month ago or two, but I did not get any response, so I'm back.
The question is: Does creating a unit with "none" pathing map cause desyncs? Because AFAIK it causes desyncs because of the pathing differences. But what happens if the unit is unpathable?
Some in-depth info: my upcoming AoS map uses a hero as shop. Its portrait is under your hero's icon. But my map also uses the "shared advanced unit control" trick to show the team icons at the left side. Sadly even the icons of the shops appear there, which looks weird (obviously).
So what should I do?
A,
B,
EDIT: added a screnshoot.
The question is: Does creating a unit with "none" pathing map cause desyncs? Because AFAIK it causes desyncs because of the pathing differences. But what happens if the unit is unpathable?
Some in-depth info: my upcoming AoS map uses a hero as shop. Its portrait is under your hero's icon. But my map also uses the "shared advanced unit control" trick to show the team icons at the left side. Sadly even the icons of the shops appear there, which looks weird (obviously).
So what should I do?
A,
JASS:
function foo takes player p returns nothing
if GetLocalPlayer()==p then
call CreateUnit(p,039;SHOP039;,0.,0.,0.)
endif
endfunction
B,
JASS:
function foo takes player p returns nothing
local integer id=039;SHO2039; //CnP the unit type but the portrait icon is turned off
if GetLocalPlayer()==p then
set id=039;SHOP039;
endif
call CreateUnit(p,id,0.,0.,0.)
endfunction
EDIT: added a screnshoot.