ACE3/addons/rearm/functions/fnc_makeDummy.sqf
IngoKauffmann 9162789579 Manny things
Added dummy objects
Added carrying
Added dropping
Added storing
Added more progress bars
...
2015-08-20 19:51:22 +02:00

24 lines
432 B
Plaintext

/*
* Author: GitHawk
* Make a dummy object by disabling collision and turning it.
*
* Arguments:
* 0: Object <OBJECT>
* 1: Vector dirAndUp <ARRAY>
*
* Return Value:
* None
*
* Example:
* [dummy, [[1,0,0],[0,0,1]]] call ace_rearm_fnc_makeDummy
*
* Public: No
*/
#include "script_component.hpp"
params ["_obj", "_dirAndUp"];
_obj setVectorDirAndUp _dirAndUp;
_obj allowDamage false;
player disableCollisionWith _obj;