Fixed removeAction; added trekkie examples

This commit is contained in:
Nicolás Badano 2015-02-27 02:20:28 -03:00
parent 3d8854f84a
commit 08b15315bf
2 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,9 @@
* Return value:
* The entry full path, which can be used to remove the entry, or add children entries <ARRAY>.
*
* Example:
* [cursorTarget,0,["ACE_TapShoulderRight","VulcanPinch"],"Vulcan Pinch","",[0,0,0],{_target setDamage 1;},{true},100] call ace_interact_menu_fnc_addAction;
*
* Public: No
*/
#include "script_component.hpp"

View File

@ -10,11 +10,14 @@
* Return value:
* None
*
* Example:
* [cursorTarget,0,["ACE_TapShoulderRight","VulcanPinch"]] call ace_interact_menu_fnc_removeAction;
*
* Public: No
*/
#include "script_component.hpp"
EXPLODE_2_PVT(_this,_object,_fullPath);
EXPLODE_3_PVT(_this,_object,_typeNum,_fullPath);
private ["_varName","_actions"];
_varName = [QGVAR(actions),QGVAR(selfActions)] select _typeNum;