Jump to content

[WIP] UPDATING, Major Overhaul. Preview


Leigham

Recommended Posts

Infistar bans for using the Action menu.  What is the work around?

 

 

BadCommandingMenu: #USER:ActionMenu (v0074)

You can dissable commanding menu check

/*  CommandingMenu Check */ _CMC = false;	/* true or false */

or few lines down add 

_cMenu =
[
'',
'RscMainMenu','RscMoveHigh','#WATCH','#WATCH0','RscWatchDir','RscWatchMoveDir','#GETIN','#RscStatus','RscCallSupport','#ACTION',
'RscCombatMode','RscFormations','RscTeam','RscSelectTeam','RscReply','#User:BIS_Menu_GroupCommunication','#CUSTOM_RADIO',
'RscRadio','RscGroupRootMenu','RscMenuReply','RscMenuStatus','#User:BIS_fnc_addCommMenuItem_menu','RscMenuMove','RscMenuFormations','#USER:ActionMenu'
];
Link to comment
Share on other sites

I got it working by disabling Infistar commanding menu check.
 
However when I changed the bike.sqf code to the following it does not work?

 

titleText ["Checking to see if you have the required items to craft an Ebike.", "PLAIN DOWN"];


sleep 3;
if ("ItemCorrugated" in (magazines player)) then[{
if ("CircuitParts" in (magazines player)) then[{
if ("ItemScraps" in (magazines player)) then[{
titleText ["", "PLAIN DOWN"];
player playActionNow "Medic";
_spawnPos = player modelToWorld [0,2,0];
_spawnDir = (getDir player) -90;
UDBike = [player, _spawnPos, _spawnDir];
sleep 3;
publicVariableServer "UDBike";
sleep 1;
titleText ["You have crafted an Ebike!", "PLAIN DOWN"];
player removeMagazine "ItemCorrugated";
player removeMagazine "CircuitParts";
player removeMagazine "ItemScraps";
},{
titleText ["You need one Scrap Metal to build an Ebike.", "PLAIN DOWN"];
}];
},{
titleText ["You need one Electronic Component to build an Ebike.", "PLAIN DOWN"];
}];
},{
titleText ["You need one Small Salvage Metal to build an Ebike.", "PLAIN DOWN"];
}];

Link to comment
Share on other sites

Might be a good idea to let people who dont want to wonder into the admin only fuctions know that there are already 3 pid's entered into the feature granting 3 people that im guessing are you and youre friends the features. Or they might just be templates. Idk. Would be nice if you cleared that up anywas :P

Link to comment
Share on other sites

Noob Question: If i wanted to combine items for crafting, instead of 1 item you need 2 items, how do i configure that?

 

In bike.sqf

i've try'd: if("ItemCorrugated","ItemMixOil" in (magazines player))then[{

titleText ["", "PLAIN DOWN"];

With this action it stops the script from reading.

I've try'd: if("ItemCorrugated,ItemMixOil" in (magazines player))then[{

titleText ["", "PLAIN DOWN"];

This will read the script but doesnt check if players have the items on it, it will say You need This and That item to build a bike. (i do have the items)

I've edited the fn_deploybike.sqf the same ways i did with bike.sqf, but im stuck here, can't configure the script to read player items and remove them for building the bike.

Default script worked great! thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...