SetCursor

Category: Player
Since engine version: 4.6.5.0 CP (extended in 4.9.5.0 CE)

Description

Sets the control cursor of a player to the specified object and selects this object for player control.

Syntax

bool SetCursor (int iPlr, object pObj, bool fNoSelectMark, bool fNoSelectArrow);

Parameters

iPlr:
Player number
pObj:
Object to be selected
fNoSelectMark:
[opt] If not 0, no selection frame is drawn when the object is selected.
fNoSelectArrow:
[opt] If not 0, no cursor arrow is drawn when the object is selected.
See also: GetCursor, SelectCrew
jwk, August 2002