2016-05-30 16:37:03 +00:00
|
|
|
/*
|
2018-01-17 11:36:10 +00:00
|
|
|
* Author: ?
|
2016-05-30 16:37:03 +00:00
|
|
|
* ?
|
|
|
|
*
|
|
|
|
* Arguments:
|
2018-01-17 11:36:10 +00:00
|
|
|
* ?
|
2016-05-30 16:37:03 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2018-01-17 11:36:10 +00:00
|
|
|
* ?
|
2016-05-30 16:37:03 +00:00
|
|
|
*
|
2018-01-17 11:36:10 +00:00
|
|
|
* Public: ?
|
2016-05-30 16:37:03 +00:00
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
params ["_object", "_matrix", "_offset"];
|
|
|
|
|
|
|
|
private _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
|