Possible to create a effect only visable for 1 player?

Status
Not open for further replies.
I think the effect has to be created for everyone otherwise it will cause the player to desynchronize. You can however change the path of the effect created to a null string so that no visible effect is created for some players. Remember that all players need the string to be cached otherwise they will desynchronize (best done in an initilization function).
 
This is true, and the correct method is in the link I posited.

Starquizer's method will cause desync.

I tested it and it sadly desynced so sorry for that false info I gave earlier, I thought that only things that affect the map pathing and map pausing cause desync but I never knew about that thing Dr.S.G. mentioned "string is cached".
 
You just need to preload all string possibilites for the path on map initialization and it will never desynchronize. Once a string is made in WC3, it remains until the end of the map session.

You do still need to make the effect for everyone though, just you can change the model of the effect dependant on player. The reason for this is effects are a handle and any kind of handle creation or destruction outside of a few select types will cause players to desynchronize.
 
Status
Not open for further replies.
Back
Top