ACE3/addons/ballistics/scripts/initTargetWall.sqf

16 lines
325 B
Plaintext
Raw Normal View History

// by commy2
2015-01-14 03:36:33 +00:00
#include "script_component.hpp"
private "_paper";
2015-04-30 08:50:49 +00:00
params ["_wall"];
if (local _wall) then {
_paper = "UserTexture_1x2_F" createVehicle position _wall;
_paper attachTo [_wall, [0,-0.02,0.6]];
_paper setDir getDir _wall;
2016-04-08 18:34:50 +00:00
_paper setObjectTextureGlobal [0, QPATHTOF(textures\target_ca.paa)];
};