ACE3/addons/bft_devices/functions/fnc_onPlayerChanged.sqf
2018-10-04 16:43:06 +02:00

27 lines
473 B
Plaintext

#include "script_component.hpp"
/*
* Author: Gundy
*
* Description:
* Resets interface when player character has changed (Zeus / remote control of AI units)
*
* Arguments:
* NONE
*
* Return Value:
* TRUE <BOOL>
*
* Example:
* [] call ace_bft_devices_fnc_onPlayerChanged;
*
* Public: No
*/
// close any interface that might still be open
[] call FUNC(ifclose);
// remove msg notification
GVAR(rscLayerMailNotification) cutText ["", "PLAIN"];
true