Jump to content
Bexs

[RELEASE] Bexs Bunker Trader

Recommended Posts

You can click the download link provided.

 

If its's not working for you, here's the link to the download

 

https://www.dropbox.com/sh/zqus53911lth1jf/x4eIs5z_br

 

It gives you the example PBOs which has all the files you need in it. The bunker file is in there as well. 

You can do so much with this script. Glad you posted about it I had no idea it existed. 

Share this post


Link to post
Share on other sites
2 hours ago, lucho said:

its possible that poeples only with 5000 humanity can get in bunker?

should eb able to add something like

if (player getVariable"humanity") < 5000) then  {

    blah blah  exectute script

in your self actions where you would get the scroll option, so unless you have over 5k you wont get the option to scroll

Share this post


Link to post
Share on other sites
Just now, SideShowFreak said:

should eb able to add something like

if (player getVariable"humanity") < 5000) then  {

    blah blah  exectute script

in your self actions where you would get the scroll option, so unless you have over 5k you wont get the option to scroll

thanks!

Share this post


Link to post
Share on other sites
3 minutes ago, lucho said:

thanks!

peeked at the example in the bunker file for self actions

This should do the trick for ya

 

if ( cursorTarget isKindOf "Infostand_1_EP1" && (player distance cursorTarget) < 2 && (player getVariable"humanity") < 5000) then {
    if (s_player_bunker < 0) then {
        s_player_bunker = player addaction[("<t color=""#0000ff"">" + ("In den Bunker") +"</t>"),"fixes\actions\bunkerin.sqf","",5,false,true,"", ""];
    };
} else {
    player removeAction s_player_bunker;
    s_player_bunker = -1;
};

Share this post


Link to post
Share on other sites
2 minutes ago, SideShowFreak said:

peeked at the example in the bunker file for self actions

This should do the trick for ya

 

if ( cursorTarget isKindOf "Infostand_1_EP1" && (player distance cursorTarget) < 2 && (player getVariable"humanity") < 5000) then {
    if (s_player_bunker < 0) then {
        s_player_bunker = player addaction[("<t color=""#0000ff"">" + ("In den Bunker") +"</t>"),"fixes\actions\bunkerin.sqf","",5,false,true,"", ""];
    };
} else {
    player removeAction s_player_bunker;
    s_player_bunker = -1;
};

allready works fine

 

PlayerHumanity = (player getVariable"humanity");
building1 = ( cursorTarget isKindOf "Land_MBG_HeavyShelter" && (player distance cursorTarget) < 10 );
if  ((PlayerHumanity > 7499) && building1)  then {

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...