/* * Author: Garth 'L-H' de Wet * Sets the Dir and pitch of passed object * * Arguments: * 0: Explosive * 1: Direction * 2: Pitch * * Return Value: * None * * Example: * [_explosive, 150, 90] call ACE_Explosives_fnc_SetPos; * * Public: Yes */ #include "script_component.hpp" EXPLODE_3_PVT(_this,_explosive,_direction,_pitch); _explosive setDir _direction; if (_pitch != 0) then { [_explosive, _pitch, 0] call CALLSTACK(BIS_fnc_setPitchBank); };