-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fastroping - Remove FRIES on vehicle deletion / adjust Ghosthawk Fries (
#6932) * fastroping_fnc_deequipFRIES, remove FRIES on vehicle deletion * Prevent FRIES from clipping into Ghost Hawk right door * UNequipFRIES * Remove fastroping checkVehicleThread * Document FRIES equip and unequip functions
- Loading branch information
1 parent
83cd316
commit cc22e95
Showing
6 changed files
with
49 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#include "script_component.hpp" | ||
/* | ||
* Author: BaerMitUmlaut | ||
* Removes FRIES from helicopter. | ||
* | ||
* Arguments: | ||
* 0: The helicopter <OBJECT> | ||
* | ||
* Return Value: | ||
* None | ||
* | ||
* Example: | ||
* [_vehicle] call ace_fastroping_fnc_unequipFRIES | ||
* | ||
* Public: Yes | ||
*/ | ||
params ["_vehicle"]; | ||
|
||
deleteVehicle (_vehicle getVariable [QGVAR(FRIES), objNull]); | ||
_vehicle setVariable [QGVAR(FRIES), nil, true]; | ||
|
||
if !((_vehicle getVariable [QGVAR(deployedRopes), []] isEqualTo [])) then { | ||
[_vehicle] call FUNC(cutRopes); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters