initial commit
This commit is contained in:
18
Altis_Life.Altis/dialog/function/fn_setMapPosition.sqf
Normal file
18
Altis_Life.Altis/dialog/function/fn_setMapPosition.sqf
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
File: fn_setMapPosition.sqf
|
||||
Author: Bryan "Tonic" Boardwine
|
||||
|
||||
Description:
|
||||
Sets the given control / maps focus position
|
||||
*/
|
||||
disableSerialization;
|
||||
private ["_control","_time","_zoom","_position"];
|
||||
_control = [_this,0,controlNull,[controlNull]] call BIS_fnc_param;
|
||||
_time = [_this,1,1,[0]] call BIS_fnc_param;
|
||||
_zoom = [_this,2,0.1,[0]] call BIS_fnc_param;
|
||||
_position = [_this,3,[],[[]]] call BIS_fnc_param;
|
||||
|
||||
if (isNull _control || _position isEqualTo []) exitWith {};
|
||||
|
||||
_control ctrlMapAnimAdd[_time,_zoom,_position];
|
||||
ctrlMapAnimCommit _control;
|
||||
Reference in New Issue
Block a user