| 08-28-2008, 12:45 AM | #1 |
If I use the script JASS:if GetLocalPlayer() == Player(0) then call HideDestructable(d,true) endif Will the cause desync/server split in multiplayer? |
| 08-28-2008, 01:25 AM | #2 |
i believe so. |
| 08-28-2008, 02:08 AM | #3 |
I disagree, it only hides the model. It doesn't effect the destructables pathing, and therefore this shouldn't affect anything. No desync. |
| 08-28-2008, 02:41 AM | #4 |
If hiding for destructs works the same as it does for units, then pathing would definitely be affected by hiding it. Then again, I've never hid a destructable in my life. |
| 08-28-2008, 03:31 AM | #5 |
Hidden destructable retain pathing but cannot be targetted, which still may lead to desyncs. It all comes down to, what do you want to hide it for? There may be others ways to do what you want, without chancing a desync. |
| 08-28-2008, 04:12 AM | #6 |
I wont desync on call, but lead to random desync later. |
| 08-28-2008, 07:37 AM | #7 |
DioD, is right. You can hide it like that as long as NOTHING affects it in any way, shape, or form until you show it again for all players. |
| 08-28-2008, 11:41 AM | #8 |
Its for my fullscreen system. Look here: http://wc3campaigns.net/showthread.p...44#post1033444 I want to hide the icons for the other players, but if I then set the transpercy to 100% it wont desync right? I cant host or got 2 computers so I cant test it. Note: The destructable cant be selected or attacked |
| 08-28-2008, 01:02 PM | #9 | |
Quote:
1. Modifying transparency won't make game desync. 2. Hiding may cause desync, but what I think is, provided that the destructible is unselectable and unattackable it could be possible to do so. Not verified. |
| 08-29-2008, 12:09 AM | #10 | |
Quote:
|
| 08-29-2008, 06:00 AM | #11 |
If I give the 999999 hit points, the chance that they will be destroyed isnt so big. So then I can safetly use the GetLocalPlayer()? |
| 08-29-2008, 06:45 AM | #12 |
No, cause damaging something is an event that can desync a map. Make it untargetable or stick it in a place that can't be targeted. |
