SetCursor
Category:
Player
Since engine version:
5.1 OC
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
jwk, 2002-08