Seems like setUnitFreefallHeight doesen't broadcast. Using it on yourself other players still get the default variable 100 with getUnitFreefallInfo .
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Not A Bug
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
Steps To Reproduce
- Player1 use player setUnitFreefallHeight 200;
- Player2 uses (getUnitFreefallInfo player1)
Event Timeline
Comment Actions
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.
Comment Actions
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.