Allow control of multiplayer cursor visibility for force
Posted: Sun Jun 22, 2025 1:29 pm
In a PvP scenario I want to make it so that players who are in teams cannot see the spectators cursors. Currently the only way to achieve this is to make the spectators enemies of the players, which is not good for the spectators.
So I suggest add something like
If set to false, only players of this force can see cursors of this force.
or get/set methods to specify force to share cursors with:
If set to false, then players of ForceID can't see cursors of LuaForce, regardless of whether they are friends or enemies
So I suggest add something like
Code: Select all
LuaForce::share_multiplayer_selection_rectangles=true|falseor get/set methods to specify force to share cursors with:
Code: Select all
LuaForce::get_share_multiplayer_selection_rectangles(ForceID)
LuaForce::set_share_multiplayer_selection_rectangles(ForceID, share)