2015-08-16 21:52:37 +00:00
|
|
|
/*
|
|
|
|
* Author: GitHawk
|
2015-08-18 15:38:50 +00:00
|
|
|
* Make a dummy object by disabling collision and turning it.
|
2015-08-16 21:52:37 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-08-18 00:32:10 +00:00
|
|
|
* 0: Object <OBJECT>
|
|
|
|
* 1: Vector dirAndUp <ARRAY>
|
2015-08-16 21:52:37 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2015-08-18 15:38:50 +00:00
|
|
|
* [dummy, [[1,0,0],[0,0,1]]] call ace_rearm_fnc_makeDummy
|
2015-08-16 21:52:37 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2017-09-29 19:53:25 +00:00
|
|
|
params ["_obj", "_dirAndUp"];
|
2015-08-16 21:52:37 +00:00
|
|
|
|
|
|
|
_obj setVectorDirAndUp _dirAndUp;
|
2015-08-20 17:51:22 +00:00
|
|
|
_obj allowDamage false;
|
2016-05-07 20:27:33 +00:00
|
|
|
ACE_player disableCollisionWith _obj;
|