ACE3/addons/common/functions/fnc_player.sqf

20 lines
416 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
/*
* Author: bux578, commy2
* Returns the player or curator controlled unit.
* Use this in INIT and RESPAWN eh scripts, because ACE_player isn't reset yet.
*
* Arguments:
2017-03-23 17:45:46 +00:00
* None
*
* Return Value:
2015-09-17 16:25:02 +00:00
* Player controlled unit <OBJECT>
*
* Example:
* [] call ace_common_fnc_player
*
2015-09-17 16:25:02 +00:00
* Public: Yes
*/
missionNamespace getVariable ["bis_fnc_moduleRemoteControl_unit", player]