Jump to content
Sign in to follow this  
brsseb

Custom anim. triggered by weapon selection?

Recommended Posts

Hi

Got a problem

Im well on my way with the Comanche , but Ive got a problem. Is there a way to trigger an animation when a certan weapon type is selected? The chopper have cannon and 1-2 rocket types onboard. I want the baydoors (where 4 rockets are hidden, for example 4 hellfires) to open when these weapons is selected by the gunner, and close again when gunner selects cannon instead. Possible ??(couldnt find any EventHandler that cared about weapons, though. So most likely not. Had to ask anyway smile.gif )

Comancheshots at

ofp.info/brsseb

brsseb

Share this post


Link to post
Share on other sites

Best/easiest thing to do is, use a if statement.

eg.

If weapon in position 1 disable (been a long time since I did coding, so someone will know how to code this)

All you need is something like this, where position one is the stored position. And all that happens is the weapon will only fire if it isn't stored.

DragoFire

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  

×