Home   Help Search Login Register  

Author Topic: Video Projector Screen  (Read 1125 times)

0 Members and 1 Guest are viewing this topic.

Offline Blacknite

  • Members
  • *
  • Chiefs runs the navy!
Video Projector Screen
« 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?

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: Video Projector Screen
« Reply #1 on: 14 Nov 2010, 11:05:38 »
Something like this works fine (using a marker to indicate the position):

Code: [Select]
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;
try { return true; } finally { return false; }