Category: Player
Since engine version: 1.0 OC
SetCursor
Description
Sets the control cursor of a player to the specified object and selects this object for player control. Returns
false
if the target object is currently deactivated by SetCrewEnabled.Syntax
bool SetCursor(int player, object obj, bool no_select_arrow);
Parameters
- player:
- Player number
- obj:
- Object to be selected.
- no_select_arrow:
- [opt] If specified and not
false
, no cursor arrow is drawn when the object is selected.
See also: GetCursor, SelectCrew