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