mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
16 lines
339 B
Plaintext
16 lines
339 B
Plaintext
// by commy2
|
|
#include "script_component.hpp"
|
|
|
|
// returns true if the unit is on foot or in a ffv position
|
|
|
|
private ["_config"];
|
|
|
|
PARAMS_1(_unit);
|
|
|
|
if (_unit == vehicle _unit) exitWith {true};
|
|
|
|
_config = configFile >> "CfgMovesMaleSdr" >> "States" >> animationState _unit;
|
|
|
|
isClass _config
|
|
&& {getNumber (_config >> "canPullTrigger") == 1}
|