mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
d0509830e3
Made params nicer, replaced some forEach and used params in XEH_respawn
27 lines
491 B
Plaintext
27 lines
491 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", objNull, [objNull]],
|
|
["_dirAndUp", [[1,0,0],[0,0,1]], [[]]]
|
|
];
|
|
|
|
_obj setVectorDirAndUp _dirAndUp;
|
|
_obj allowDamage false;
|
|
player disableCollisionWith _obj;
|