invisible unit using localplayer func

dansam92

New Member
Reaction score
1
can i make unit invisible by using localplayer func?
i wanna make them visible to only allied players.

like
Code:
if IsPlayerAlly(GetLocalPlayer(),[I]'Player'[/I])!=true then
 call ShowUnit(WhichUnit(),false)
endif

is it possible? or there is another way to do this?
will desync happens?
 

cleeezzz

The Undead Ranger.
Reaction score
268
use the SetUnitScale to 0 for invis (i think its setunitscale)

anyway, theres a way to do it with ShowUnit so it wont desync, but i wouldn't risk it (proof? i've done it before and tested on multiplayer but i changed it just to be safe)
 

dansam92

New Member
Reaction score
1
use the SetUnitScale to 0 for invis (i think its setunitscale)

anyway, theres a way to do it with ShowUnit so it wont desync, but i wouldn't risk it (proof? i've done it before and tested on multiplayer but i changed it just to be safe)

using scale has a problem.
it is invisible but, enemy units can sense it.

really? wht can i do to do this with showunit func without desync?
i would appreciate if you could tell me how to do it. :)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, yuo can simply sync the players...
Though there is a delay using this method :(

Sorry, but don't have WE here, so can't show you :(
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top