fn_createClearance

This commit is contained in:
Wyqer 2019-12-05 16:35:44 +01:00
parent 557b5fa8d8
commit dca429b464
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
1 changed files with 7 additions and 4 deletions

View File

@ -2,19 +2,22 @@
File: fn_createClearance.sqf
Author: KP Liberation Dev Team - https://github.com/KillahPotatoes
Date: 2019-12-03
Last Update: 2019-12-03
Last Update: 2019-12-04
License: MIT License - http://www.opensource.org/licenses/MIT
Description:
No description added yet.
Adds a terrain objects clearance around given position with given radius.
If the save switch is set to true, the clearance will be saved during the campaign.
Parameter(s):
_localVariable - Description [DATATYPE, defaults to DEFAULTVALUE]
_centerPos - Position for the clearance [POSITION, defaults to [0, 0, 0]]
_radius - Radius of the clearance around the center [NUMBER, defaults to 0]
_save - Switch to decide if the clearance should be persistent [BOOL, defaults to false]
Returns:
Function reached the end [BOOL]
*/
// TODO
if (!isServer) exitWith {false};
params [