Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Video Projector Screen  (Read 1829 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; }