HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

[ASK] GetLocalPlayer in WeatherEffect

11-10-2008, 08:43 AM#1
blanc_dummy
If we use GetLocalPlayer() to enable weather effect to one person, can cause desync??

Collapse JASS:
function ...

if GetLocalPlayer()==GetTriggerPlayer()then
   call EnableWeatherEffect(theweather,true)
endif

...
11-10-2008, 11:26 AM#2
Anitarf
Unlikely.
11-10-2008, 01:14 PM#3
DioD
There is one more way for local effects - effect type.

You can add visible effect to some player and invisible to others, this will save one call.