Forum Jump :

Author Message


Posts: 105
Rank:


Level: Member

Country: us
Location:
Occupation: Marine
Age:
In-game name: shadowmarine578

 
#1 Posted at 2015-09-19 10:12        
     
OK GENTS!!!! got a problem only my ArmaHolic friends can help me with. but i have done my research this time so i just need help with scripting structure and use.

ok so this is the script that adds all the addActions to the LHD i got this out of the mod folder its self, the problem is on a dedicated server the actions only work once i want them to keep working no mater what and with the Ace 3 interactions.


ok so thats one part of the lifts there are two other scripts that deal with that as far as i know.



and

now i sorta know the code for the interaction stuff but not really sure how to put the 2 together.
ElevatorActions is the main "Class name" for the addActions used on the LHD

ElevatorActions = ["raise","Lower","",{null = [lhd8,'lower']execVM "ATLAS_Water\LHD\scripts\elev.sqf"},{true},{}] call ace_interact_menu_fnc_createAction;
[MyUnitClass, 0, ["ACE_MainActions"], ElevatorActions] call ace_interact_menu_fnc_addActionToClass;

class name for the LHD
STR_ATLAS_CFG_LHD

Container ElevatorActions
list of actions
STR_ATLAS_CFG_RAISEELEV
STR_ATLAS_CFG_LOWERELEV
STR_ATLAS_CFG_CALLELEV
STR_ATLAS_CFG_OPENWELLDECK
STR_ATLAS_CFG_CLOSEWELLDECK
STR_ATLAS_CFG_RAISEWINCH
STR_ATLAS_CFG_LOWERWINCH
STR_ATLAS_CFG_DETACHFROMWINCH
STR_ATLAS_CFG_ATTACHTOWINCH
STR_ATLAS_CFG_EMERGENCYRELEASE
STR_ATLAS_CFG_REQUISITIONBOAT

if you guys got any ideas i would be VERY VERY HAPPY!

This post was edited by shadowmarine578 (2015-09-19 12:06, ago)