ACE3/addons/common/functions/fnc_player.sqf

20 lines
417 B
Plaintext
Raw Normal View History

/*
* 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:
* 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
*/
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
missionNamespace getVariable ["bis_fnc_moduleRemoteControl_unit", player]