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: Running an SQF Exec  (Read 2905 times)

0 Members and 1 Guest are viewing this topic.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Running an SQF Exec
« on: 02 Feb 2010, 05:13:18 »
Hi guys, created an SQF Breifing, trying to execute in-game.

It says I'm supposed to type this

Quote
execVM "briefing.sqf";

yeah doesn't work....

what's the proper way to this code to make it work for Arma2?

Thanks.
Who's hyped for Arma4, long live Arma!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Running an SQF Exec
« Reply #1 on: 02 Feb 2010, 06:09:24 »
_dummee = unitName execVM "briefing.sqf"; ... or similar.


Planck
I know a little about a lot, and a lot about a little.

Offline RangerX3X

  • Members
  • *
  • Ranger, out.
    • RangerX3X
Re: Running an SQF Exec
« Reply #2 on: 05 Feb 2010, 21:42:37 »
execVM "briefing.sqf";

This works as long as you have it in an init.sqf file in the primary mission folder.
Ranger, out.