2015-09-19 22:55:58 +00:00
|
|
|
/*
|
|
|
|
* Author: ?
|
|
|
|
* ?
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* ?
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* ?
|
|
|
|
*
|
|
|
|
* Public: ?
|
|
|
|
*/
|
2015-05-14 22:12:40 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-09-19 22:55:58 +00:00
|
|
|
params ["_object", "_matrix", "_offset"];
|
2015-05-14 22:12:40 +00:00
|
|
|
|
2015-12-14 12:08:19 +00:00
|
|
|
private _origin = getPosASL _object;
|
2015-01-11 18:24:19 +00:00
|
|
|
|
2015-09-19 22:55:58 +00:00
|
|
|
_matrix params ["_xVec", "_yVec", "_zVec"];
|
2015-01-11 18:24:19 +00:00
|
|
|
|
2015-09-19 22:55:58 +00:00
|
|
|
_offset params ["_x", "_y", "_z"];
|
2015-01-11 18:24:19 +00:00
|
|
|
|
2015-09-19 22:55:58 +00:00
|
|
|
(_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y) vectorAdd (_zVec vectorMultiply _z) vectorAdd _origin // return
|