OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: lord_v on 22 Jun 2010, 09:06:43

Title: addMenu command
Post by: lord_v 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?
Title: Re: addMenu command
Post by: HeliJunkie 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 (http://community.bistudio.com/wiki/addAction))