Player::setLockon

From RAGE Multiplayer Wiki
Revision as of 23:46, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example from fm_mission_controler.ysc.c4:

PLAYER::SET_PLAYER_LOCKON(PLAYER::PLAYER_ID(), 1);

All other decompiled scripts using this seem to be using the player id as the first parameter, so I feel the need to confirm it as so.

Syntax

player.setLockon(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also