Smaller tweaks

This commit is contained in:
Wyqer 2019-12-05 16:33:47 +01:00
parent c99b25ef2f
commit fcea4477f4
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
3 changed files with 12 additions and 6 deletions

View File

@ -2,7 +2,7 @@
File: fn_addObjectInit.sqf
Author: KP Liberation Dev Team - https://github.com/KillahPotatoes
Date: 2019-05-08
Last Update: 2019-12-03
Last Update: 2019-12-04
License: MIT License - http://www.opensource.org/licenses/MIT
Description:
@ -15,7 +15,11 @@
Function reached the end [BOOL]
*/
params [["_object", objNull, [objNull]]];
params [
["_object", objNull, [objNull]]
];
if (isNull _object) exitWith {["Null object given"] call BIS_fnc_error; false};
private _elements = KPLIB_objectInitsCache getVariable typeOf _object;

View File

@ -2,7 +2,7 @@
File: fn_createManagedUnit.sqf
Author: KP Liberation Dev Team - https://github.com/KillahPotatoes
Date: 2019-10-04
Last Update: 2019-12-03
Last Update: 2019-12-04
License: MIT License - http://www.opensource.org/licenses/MIT
Description:
@ -18,10 +18,10 @@
Returns:
Created unit [OBJECT]
*/
// TODO
params [
["_type", "", [""]],
["_spawnPos", [0,0,0], [[], objNull, grpNull], [2,3]],
["_spawnPos", [0, 0, 0], [[], objNull, grpNull], [2, 3]],
["_group", grpNull, [grpNull]],
["_rank", "PRIVATE", [""]],
["_placement", 0, [0]]

View File

@ -2,7 +2,7 @@
File: fn_forceBluforCrew.sqf
Author: KP Liberation Dev Team - https://github.com/KillahPotatoes
Date: 2019-11-25
Last Update: 2019-12-03
Last Update: 2019-12-04
License: MIT License - http://www.opensource.org/licenses/MIT
Description:
@ -20,6 +20,8 @@ params [
["_veh", objNull, [objNull]]
];
if (isNull _veh) exitWith {["Null object given"] call BIS_fnc_error; false};
// Create regular config crew
private _grp = createVehicleCrew _veh;