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: addMenu command  (Read 2879 times)

0 Members and 1 Guest are viewing this topic.

Offline lord_v

  • Members
  • *
addMenu command
« on: 22 Jun 2010, 09:06:43 »
Hello to you all.
First of yes I am new to this place

Second, I try to create a plug-in for arma 2 and want to use the addMenu command to do some stuff.
but I just can't figure out how the command works.
any one here who knows how to use it?

Offline HeliJunkie

  • Tutorial Writer
  • **
Re: addMenu command
« Reply #1 on: 07 Jul 2010, 07:04:06 »
Looks like this command seems to work only in the "RealTimeEditor".
I suggest that, because the syntax say:
Code: [Select]
map addMenu [text,priority] and map is normaly a reference to the RTE-Map Control.

May you want to add an entry to the actionMenu of the player?
Then use "addAction"! (http://community.bistudio.com/wiki/addAction)