OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Blacknite on 14 Nov 2010, 07:39:14
-
Ok, this is kicking my butt... I want this video projector screen to show up at a specific spot, direction, and height. The classname is "Misc_Videoprojektor_platno". Any suggestions?
-
Something like this works fine (using a marker to indicate the position):
private ["_pos", "_screen"];
_pos = getMarkerPos "screen_position";
_screen = "Misc_Videoprojektor_platno" createVehicle _pos;
_screen setPos (_screen modelToWorld [0,0,2]); // 2m above ground
_screen setDir 45;