Skip to content

Commit

Permalink
feat: counter-ambush + flatten obstacle course (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArwynFr authored Mar 12, 2023
1 parent bfc49ce commit 97e8426
Show file tree
Hide file tree
Showing 2 changed files with 2,631 additions and 1,713 deletions.
3 changes: 2 additions & 1 deletion FORM_Entrainement.Altis/functions/CCOM_PO/fn_CCOM_initPO.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ if(isServer) then {
private _obstacle = _x#0 createVehicle [0,0,0];
_obstacle enableSimulationGlobal false;
_obstacle allowDamage false;
_obstacle setPosATL (_source getRelPos [_x#1, 90]);
private _position = _source getRelPos [_x#1, 90];
_obstacle setPosASL [_position#0, _position#1, (getPosASL _source) #2 +0.1];
_obstacle setDir (getDir _source + (_x#2));
} forEach [
["Land_Obstacle_RunAround_F", 19.5, -90],
Expand Down
Loading

0 comments on commit 97e8426

Please sign in to comment.