mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
444 B
Plaintext
25 lines
444 B
Plaintext
/*
|
|
* Author: ?
|
|
* ?
|
|
*
|
|
* Arguments:
|
|
* ?
|
|
*
|
|
* Return Value:
|
|
* ?
|
|
*
|
|
* Public: ?
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_object", "_matrix", "_offset"];
|
|
|
|
private "_origin";
|
|
_origin = getPosASL _object;
|
|
|
|
_matrix params ["_xVec", "_yVec", "_zVec"];
|
|
|
|
_offset params ["_x", "_y", "_z"];
|
|
|
|
(_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y) vectorAdd (_zVec vectorMultiply _z) vectorAdd _origin // return
|