ACE3/addons/core/functions/fn_player.sqf

15 lines
322 B
Plaintext

/*
* Author: bux578, commy2
*
* Returns the player or curator controlled unit.
* Use this in INIT and RESPAWN eh scripts, because AGM_player isn't reset yet.
*
* Arguments:
* NONE.
*
* Return Value:
* Player controlled unit (object)
*/
missionNamespace getVariable ["bis_fnc_moduleRemoteControl_unit", player]