Smaller tweaks
This commit is contained in:
parent
c99b25ef2f
commit
fcea4477f4
|
@ -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;
|
||||
|
||||
|
|
|
@ -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]]
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue