HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Special Effect For Local Player Splits?

02-23-2008, 06:56 PM#1
Brash
Does creating special effects for just one player create a server split?
or crash?
02-23-2008, 07:34 PM#2
Captain Griffen
Can cause server splits, but won't directly, I believe.

Best to create a special effect for all players, but for other players have it use the string "".
02-23-2008, 08:36 PM#3
Toadcop
Quote:
Best to create a special effect for all players, but for other players have it use the string "".
imho it's the only way =) (to call AddSpecialEffec... localy MUST desync.)
02-23-2008, 09:08 PM#4
Brash
okay that's all i wanted to know. thanks guys
02-24-2008, 12:42 AM#5
Ammorth
And make sure you declare the model and then set the other players to "" instead of the other way around. If you do it that way, you may desync the string tables and It may lead to a game desync.

Collapse JASS:
local string model = "Somemodel.mdx"
if GetLocalPlayer() != Player(0) then
    set model == ""
endif