Jump to content
Sign in to follow this  
Wiki

USS Liberty cargo door

Recommended Posts

Hi.

 

Does anyone know the command to open the doors of the cargo bay of the USS Liberty?

 

Thanks

 

Edit:

alos, how to use the cargo bay on the side?

 

Thanks

Share this post


Link to post
Share on other sites
[[liberty,"Land_Destroyer_01_hull_04_F"] call BIS_fnc_Destroyer01GetShipPart,1,true] call BIS_fnc_Destroyer01AnimateHangarDoors

1 to open, 0 to close, true to instant, false to animate smoothly.

 

EDIT: Place a Boat Rack inside the side cargo bay and you don't need to do something to use it. Make your boat closer to the bay and you can activate the action.

  • Like 2

Share this post


Link to post
Share on other sites

OPk, thx i'll try that :)

Share this post


Link to post
Share on other sites

I just tested the boat rack, here are some notes:

Only the driver can load/unload the boat on the rack.

Multiple actions will appear if multiple racks are used. If close to each other. Would be better to have one action, I might modify the function sometime if I can be bothered. If I do, I'll share it.

If a rack is destroyed with a boat loaded. The boat stays alive and can still be unloaded after the action is selected.

If a boat is destroyed while on the rack, the rack becomes unusable until it is cleaned up / deleted.

You cannot use the weapons on boat (if any) nor smokes but you can turn on the engine.

To check if a rack can load a boat or not or to see if a boat is loaded on a rack already you can use the following command:

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

Where rack and boat are variable names of the objects.

if (rack canVehicleCargo boat select 1) then
{
	// not loaded (can load)
} else
{
	// loaded (cannot load)
};

To set a boat on the rack, use:

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

Other useful relevant commands:

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

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

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
Sign in to follow this  

×