Jump to content

[RELEASE] Bexs Bunker Trader


Bexs

Recommended Posts

  • 1 month later...
  • 9 months later...

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. 

Link to comment
Share on other sites

  • 11 months later...
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

Link to comment
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!

Link to comment
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;
};

Link to comment
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 {

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...