Jump to content

Virtual + Physical Inventory - Tutorial 5.0


Recommended Posts

  • 8 months later...

@waren pumba you'd add a RscPicture in the background class for instance I have this set up for my player_inv.hpp



class controlsBackground {
class Life_RscTitleBackground: Life_RscPicture {
            idc = -1;
            text = "textures\menu.paa";
            x = 0;
            y = -0.12;
            w = 1;
            h = 1.28;


You'd have to find the positioning yourself or use the GUI editor.

Link to comment
Share on other sites

  • 2 years later...

Hey, I just followed this tutorial on a clean 5.0 build but I got an issue I'm not sure how to tacle.

RPT error: 

Error in expression <y]]] call TON_fnc_terrainSort;

_dome = nearestObject [_pos,"Land_Dome_Big_F"];
  Error position: <nearestObject [_pos,"Land_Dome_Big_F"];
  Error Type Array, expected Number
File life_server\init.sqf..., line 191

life_server's init is the original file, worked great before adding this script. I'm confused as to how this came up as none of the files modified where in the life_server nor had anything to do with the federal reserve.

life_server/init.sqf start line 185:

/* Setup the federal reserve building(s) */
private _vaultHouse = [[["Altis", "Land_Research_house_V1_F"], ["Tanoa", "Land_Medevac_house_V1_F"]]] call TON_fnc_terrainSort;
private _altisArray = [16019.5,16952.9,0];
private _tanoaArray = [11074.2,11501.5,0.00137329];
private _pos = [[["Altis", _altisArray], ["Tanoa", _tanoaArray]]] call TON_fnc_terrainSort;

_dome = nearestObject [_pos,"Land_Dome_Big_F"];
_rsb = nearestObject [_pos,_vaultHouse];

I'm wondering if that may have something to do with player position on mission start?

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

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

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.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.