mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
delete sqf file
This commit is contained in:
parent
73d5b3c77b
commit
9cdefae10e
@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Author: commy2
|
||||
* Check if the unit can use a Weapon.
|
||||
* Returns true if the unit is on foot or in a FFV position.
|
||||
*
|
||||
* Arguments:
|
||||
* 0: The Unit <OBJECT>
|
||||
*
|
||||
* Return Value:
|
||||
* Can the Unit use Weapons <BOOL>
|
||||
*
|
||||
* Public: Yes
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
params [["_unit", objNull, [objNull]]];
|
||||
|
||||
if (_unit == vehicle _unit) exitWith {true};
|
||||
|
||||
private _config = configFile >> "CfgMovesMaleSdr" >> "States" >> animationState _unit;
|
||||
|
||||
isClass _config
|
||||
&& {getNumber (_config >> "canPullTrigger") == 1}
|
Loading…
Reference in New Issue
Block a user