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"
|
|
|
|
|
|
|
|
params ["_obj", "_dirAndUp"];
|
|
|
|
|
|
|
|
_obj setVectorDirAndUp _dirAndUp;
|
2015-08-18 15:38:50 +00:00
|
|
|
player disableCollisionWith _obj;
|