Skip to content

Commit

Permalink
Weapons Handling Grenades - Fix Grenade dropping issues (#163)
Browse files Browse the repository at this point in the history
* Fix Grenade dropping issues

Replaced Dropping and Distance throwing targets from sandbags to Trenches.

* Weapons Handling Grenades - Damageable building (#164)

Co-authored-by: JoramD <j.davids@hotmail.nl>
  • Loading branch information
Mike-MF and JoramD0 authored Oct 1, 2022
1 parent be9148b commit 365897d
Show file tree
Hide file tree
Showing 3 changed files with 834 additions and 4,942 deletions.
8 changes: 8 additions & 0 deletions Olympus.Stratis/functions/fn_addChatCommands.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,11 @@
systemChat format ["[TAC] Invalid input, input must be between 1 and 100 meters (input was %1)", _parsedInput];
};
}, "all"] call CBA_fnc_registerChatCommand;

["tac-grenade-reset", {
grenade_area_building setDamage 0;
{
grenade_area_building animateSource [_x, 0, true];
} forEach ["Door_1_sound_source", "Door_2_sound_source", "Door_3_sound_source", "Door_4_sound_source"];
systemChat "[TAC] Reset the grenade building";
}, "all"] call CBA_fnc_registerChatCommand;
4 changes: 3 additions & 1 deletion Olympus.Stratis/functions/fn_featureOverview.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ _player createDiaryRecord ["features", ["Chat Commands", "
<br/>
<br/><font color='#E3D310'>#tac-cleanup:</font color>
<br/>Type `#tac-cleanup` in chat to delete any items on the ground in a 10m range.
<br/>To extend the cleanup range type `#tac-cleanup <NUMBER>` in chat (number in meters between 1 and 100 meters).
<br/>
<br/><font color='#E3D310'>#tac-grenade-reset:</font color>
<br/>Type `#tac-grenade-reset` in chat to reset the grenade building.
"]];

_player createDiaryRecord ["features", ["Arsenals", "
Expand Down
Loading

0 comments on commit 365897d

Please sign in to comment.