Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Invulnerable Issue
Invulnerable Issue
03-03-2006, 03:10 AM
#1
Chuckle_Brother
Will doing the following cause a desync:
JASS:
call
SetUnitInvulnerable
(
GetLastCreatedUnit
(),
IsUnitEnemy
(
GetLastCreatedUnit
(),
GetLocalPlayer
()))
03-03-2006, 03:15 AM
#2
Vexorian
Obviously, because you are making a unit invulnerable only for the enemies of local player,
unit invulnerability is the kind of thing that causes different game behaviour
03-03-2006, 03:34 AM
#3
Chuckle_Brother
Shit, I thought so.
Any suggestions on a way I could totally prevent enemy units from noticing a dummy unit but retain the owner to be able to be ordered to attack it?
03-03-2006, 06:19 AM
#4
Jacek
Permanent Invisibility?
03-03-2006, 11:29 AM
#5
Vexorian
yeah and let the player's unit have detection.
03-03-2006, 12:17 PM
#6
shadow1500
dont forget UnitShareVision, remember that u can only see invisible units of a player if he shares vision with u.
03-03-2006, 12:32 PM
#7
Chuckle_Brother
Oh thats a really good idea. Thanks all