Jump to content
johnhansen

Help With Script inside an Addon (Parachute Mod)

Recommended Posts

Hello Guys I'm working on a paradrop script for an addon ,I have done a function that I need to start on the mission start ( BDF_linha_fixa = { .... ). The function then later will be called by an action inside a vehicle . My question is how do I put it inside an .Pbo in a way that there's no need to start a module for it to work.
 

 

:D

  • Like 3

Share this post


Link to post
Share on other sites
On 10/3/2018 at 6:11 PM, johnhansen said:

how do I put it inside an .Pbo

 

Hello there johnhansen!

 

In your addon should be the config.cpp with the ex: below:

 

config.cpp

class CfgFunctions
{
	class Parachute_anim
	{
		class Parachute_scripts
		{
			class Parachute
			{
				file="Parachute\scripts\Yourscript1.sqf";
			};
		};
		class Parachute_scripts2
		{
			class Parachute_move
			{
				file="Parachute\scripts\Yourscript2.sqf";
			};
		};
		class Parachute_scripts3
		{
			class randomize
			{
				file="Parachute\scripts\Yourscript3.sqf";
			};
		};
	};
};

 

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×