mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
421 B
Plaintext
24 lines
421 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Gundy
|
|
*
|
|
* Description:
|
|
* Center BFT Map on current player position
|
|
*
|
|
* Arguments:
|
|
* 0: Interface ID <STRING>
|
|
*
|
|
* Return Value:
|
|
* TRUE <BOOL>
|
|
*
|
|
* Example:
|
|
* ["interfaceID"] call ace_bft_devices_fnc_centerMapOnPlayerPosition;
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
|
|
[_this select 0, [["mapWorldPos", getPosASL vehicle ACE_player]], true, true] call FUNC(setSettings);
|
|
|
|
true
|