Jump to content
  • 0

Can't right click to build


Link

Question

So last night I attempted to merge my fn_selfactions & player_build sqf mission files with the Stam Plot pole for life ones. I have a custom player_build because I use build snapping, I made sure to use _object instead of tmp_build/

 

The problem is that in-game when I right click on an item to build nothing shows up. which of the two file brings up the menu when you right click on an action? If somone could let me know which file is responsible for right click actions on building objects that would be great.

 

Thanks.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

assuming you are using the default plot for life v2 setup. 

 

in your mission.pbo 

init folder, compiles.sqf

 

ensure that this line is pointing to your custom player_build.sqf

for instance, i'm using snap pro. so my player_build is located in the snap pro folder. 

player_build = compile preprocessFileLineNumbers "Custom\snap_pro\player_build.sqf";

OR....

if you are referring to extra right click buildables

edit extra_rc.hpp  

	class PartGeneric {
		class menuItem1 {
		text = "Build Scaffolding";
		script = "[""MAP_leseni4x"",[""ItemToolbox"",""ItemEtool""],[[""PartWoodLumber"", 3],[""PartGeneric"", 3]],[0,3,3.87]] execVM ""custom\snap_pro\player_build.sqf"";";
		};

ensure that the execVM "" is pointing to the correct player_build.sqf.

 

hopefully that can help

 

or you could use this 

 

i can confirm that player_build.sqf works with p4l, snap-pro and extra right click buildables. thats the one i'm using

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...