Skip to content

Commit

Permalink
Change function name for wheel hit point
Browse files Browse the repository at this point in the history
  • Loading branch information
Vdauphin committed Oct 16, 2024
1 parent fc690fb commit ec24932
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (_roads isNotEqualTo []) then {_pos = getPos (selectRandom _roads);};

private _veh_type = selectRandom btc_civ_type_veh;
private _veh = createVehicle [_veh_type, _pos, [], 0, "NONE"];
(_veh call ace_repair_fnc_getWheelHitPointsWithSelections) params ["_wheelHitPoints", "_wheelHitPointSelections"];
(_veh call ace_common_fnc_getWheelHitPointsWithSelections) params ["_wheelHitPoints", "_wheelHitPointSelections"];
_veh setDir (random 360);
_veh setDamage 0.7;
private _damagedWheel = 1 + round random (count _wheelHitPointSelections - 1);
Expand Down

0 comments on commit ec24932

Please sign in to comment.