Jump to content
Sign in to follow this  
alexboy

Make AI use GUI Menu

Recommended Posts

I know the code is unit action ["inGameMenu", <target>] ;

but I am using the B2A bomber, and i have tried this with other planes, Soldier1 action ["Open_the_bomb_bay", vehicle b2a] ; and placed this in a trigger but it doesnt work? i have tried this with other planes with bomb bays and it still doesnt work. am i typing in the information wrong or what?

Share this post


Link to post
Share on other sites

Nice idea... ;)

But there are only these commands available with the action command.

What you need is the animate command and the name of the bomb bay of the addon.

Example:

open:

yourPlane animate ["ramp_bottom", 1]

close:

yourPlane animate ["ramp_bottom", 0]

;)

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  

×