Jump to content
sgtelis

Virtual Garage Limitation

Recommended Posts

So I got Virtual Garage to work in my mission, I can walk up to AI:s, scroll to get a option to enter Virtual Garage and spawn in any vehicle I want at a given location.

 

What I want to do now is so that I at these AI:s only can access certain vehicles, for example I have a Car Dealer, Heli Dealer and a Armor Dealer in wich I only want to display the right type of vehicles. How can I do this?

Also if the regular way is to add in every single vehicle to a list then is there a quicker way to do it since I have a lot of mods x)

Share this post


Link to post
Share on other sites

Virtual Garage is not a playable vehicle spawner.

How come it works for me then?

Share this post


Link to post
Share on other sites

It doesn't work for you as you want. None of the other players in your mission can see the vehicles spawned by the VG.

Share this post


Link to post
Share on other sites
Guest

You can always take the bohemia functions of the virtual garage and modify them to spawn the vehicle globaly.

Share this post


Link to post
Share on other sites

You can always take the bohemia functions of the virtual garage and modify them to spawn the vehicle globaly.

How would I do that?

Share this post


Link to post
Share on other sites

It doesn't work for you as you want. None of the other players in your mission can see the vehicles spawned by the VG.

Noted, how could I fix this?

Share this post


Link to post
Share on other sites
Guest

Search in the pbos. For the Arsenal it is BIS_fnc_Arsenal for exemple.

Share this post


Link to post
Share on other sites

Search in the pbos. For the Arsenal it is BIS_fnc_Arsenal for exemple.

Not sure what you mean with "Search in the pbos." Search in the mission files?

Other than that, I've used this:

https://community.bistudio.com/wiki/BIS_fnc_garage

And they mention how it should work however can't figure out how to actually use the code. (bis_fnc_garage_data)

Share this post


Link to post
Share on other sites
Guest

Got the function.

 

rootdir/Mark/Addons/functions_f_mark.pbo/Vehicles/fn_garage.sqf

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

×