2015-01-11 16:42:31 +00:00
|
|
|
// by commy2
|
2015-01-14 03:36:33 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-08-04 23:14:03 +00:00
|
|
|
private "_paper";
|
2015-04-30 08:50:49 +00:00
|
|
|
|
2015-08-04 23:14:03 +00:00
|
|
|
params ["_wall"];
|
2015-01-11 16:42:31 +00:00
|
|
|
|
|
|
|
if (local _wall) then {
|
2015-04-06 16:22:43 +00:00
|
|
|
_paper = "UserTexture_1x2_F" createVehicle position _wall;
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-04-06 16:22:43 +00:00
|
|
|
_paper attachTo [_wall, [0,-0.02,0.6]];
|
|
|
|
_paper setDir getDir _wall;
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-04-06 16:22:43 +00:00
|
|
|
_paper setObjectTextureGlobal [0, QUOTE(PATHTOF(textures\target_ca.paa))];
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|