Seems like setUnitFreefallHeight doesen't broadcast. Using it on yourself other players still get the default variable 100 with getUnitFreefallInfo .
- Not A Bug
- Operating System
- Windows 10 x64
- Player1 use player setUnitFreefallHeight 200;
- Player2 uses (getUnitFreefallInfo player1)
getUnitFreefallInfo takes a local argument, not a remote one, even though setUnitFreeFallInfo has a global effect.
If there is a bug, you have to check by switching locality on a unit (which can be only done with an AI) - like this:
- Spawn AI local to player1.
- Use setUnitFreefallHeight on AI.
- Switch AI's locality to player2's computer (with setOwner or setGroupOwner).
- Use getUnitFreefallInfo on AI now and see what it returns.
No it doesn't broadcast and by global effect this means that the unit will not get into free fall animation globally not that getUnitFreefall will return the same value globally. In fact the getUnitFreefall has local argument meaning executing it on remote machine is not going to work.