R3vo 2654 Posted September 18, 2015 Try this https://community.bistudio.com/wiki/Description.ext#showHUD Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 On 9/18/2015 at 8:03 PM, R3vo said: Try this https://community.bistudio.com/wiki/Description.ext#showHUD Which one use? Share this post Link to post Share on other sites
HallyG 239 Posted September 18, 2015 (edited) Took me about 5 seconds to find the command HERE. showHud Edited September 18, 2015 by hallyg Share this post Link to post Share on other sites
R3vo 2654 Posted September 18, 2015 On 9/18/2015 at 8:05 PM, hallyg said: Took me about 5 seconds to find the command HERE. showHud Ninja'd Yep, took literally 5 seconds. Quote Which one use? Try it out yourself. Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 On 9/18/2015 at 8:05 PM, hallyg said: Took me about 5 seconds to find the command HERE. showHud I alredy knew about the command before 1-st message Share this post Link to post Share on other sites
HallyG 239 Posted September 18, 2015 On 9/18/2015 at 8:07 PM, Ilias38rus said: I alredy knew about the command before 1-st message, how to get hug names? Both the pages R3vo and I sent you should have the information you require. Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 I knew all you sended me already, but i have no idea how to disable only bullets counting Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 On 9/18/2015 at 8:08 PM, hallyg said: Both the pages R3vo and I sent you should have the information you require. On 9/18/2015 at 8:07 PM, R3vo said: Yep, took literally 5 seconds. Try it out yourself. I readed every symvol about the commands and all i got is ability to disable all hud, arrays are rejecting by game and in the arrays is not present personal place for only the ui anyway Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 Do anyone know how to do that? Share this post Link to post Share on other sites
dr death jm 117 Posted September 18, 2015 On 9/18/2015 at 8:49 PM, Ilias38rus said: Do anyone know how to do that? in your missions description showHUD [true,true,false,false,true,true,true,true]; try that out its from here https://community.bistudio.com/wiki/showHUD best practice is the domino effect , test above , if its not right delete or change one of the false to true , or delete 1 at a time and test till you see what you like... but the above shows no bullets no weapon, no ai .. so youll need to figure out the rest. Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 On 9/18/2015 at 8:56 PM, dr death jm said: in your missions description showHUD [true,true,false,false,true,true,true,true]; try that out its from here https://community.bistudio.com/wiki/showHUD best practice is the domino effect , test above , if its not right delete or change one of the false to true , or delete 1 at a time and test till you see what you like... but the above shows no bullets no weapon, no ai .. so youll need to figure out the rest. description.ext showHUD [true,true,false,false,true,true,true,true]; showHUD '[' encorded instead of '=' , description.ext showHUD = [true,true,false,false,true,true,true,true];no hud at all Share this post Link to post Share on other sites
HallyG 239 Posted September 18, 2015 Spent a while trying to figure this out and I finally got it :D ((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlSetPosition [0,0,0,0]; ((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlCommit 0; Enjoy. 2 Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 On 9/18/2015 at 9:07 PM, hallyg said: Spent about half an hour trying to figure this out and I worked it out... I think. ((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlSetPosition [0,0,0,0]; ((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlCommit 0; Enjoy. Holy crab, thank you :bounce3: How did you do that? (have no idea how it's working, if it's too long can do not answer, thank you) Share this post Link to post Share on other sites
HallyG 239 Posted September 18, 2015 On 9/18/2015 at 9:16 PM, Ilias38rus said: Holy crab, thank you :bounce3: How did you do that? The HUD is a display so I just needed to find the idc of the ammo count and then hide it. Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 On 9/18/2015 at 9:18 PM, hallyg said: The HUD is a display so I just needed to find the idc of the ammo count and then hide it. Where can it be found? Share this post Link to post Share on other sites
HallyG 239 Posted September 18, 2015 In the config. _idc = getNumber (configfile >> "RscInGameUI" >> "RscUnitInfo" >> "AmmoCount" >> "idc"); Or alternatively, navigate to it by using the ingame config viewer. Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 18, 2015 On 9/18/2015 at 9:22 PM, hallyg said: In the config. _idc = getNumber (configfile >> "RscInGameUI" >> "RscUnitInfo" >> "AmmoCount" >> "idc"); Or alternatively, navigate to it by using the ingame config viewer. Cool, will look in it, big thanks, you did some thing which will present in all my missions ) Share this post Link to post Share on other sites
t.a.6 7 Posted February 8, 2016 Can someone help with writing script for handle getting out vehicles to hide the "display" ? Share this post Link to post Share on other sites
f2k sel 164 Posted February 8, 2016 On 2/8/2016 at 2:06 AM, t.a.6 said: Can someone help with writing script for handle getting out vehicles to hide the "display" ? I don't know what you mean by Display, do you mean the GetOut menu option? This is not possible or at least I've never see it yet. You can change the out come though, instead of it allowing you to get out you could use it to display a message or run another script. inGameUISetEventHandler [ "Action", " _target = _this select 0; if ((_this select 3) in ['GetOut','Get Out']) then { [player,_target,_this select 3] spawn {hint 'Door is locked'}; true; }; " ]; Place in an init box, this will affect all vehicles unless you change the condition and name the vehicle if ((_this select 3) in ['GetOut','Get Out'] and _target == mycarsname) then { Share this post Link to post Share on other sites
t.a.6 7 Posted February 19, 2016 Hey ) , need a little help, please, have: stin=true; _st=true; while{stin}do{if((vehicle player)==player)then{ if(_st)then{ ((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlSetPosition [0,0,0,0]; ((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlCommit 0; _st=false; }; }else{ _st=true; };}; But need to handle UAV's controlling too (including zeus's " remote control "), any ideas? Share this post Link to post Share on other sites