Jump to content
Sign in to follow this  
paulytrick

tell if a paticular unit has fired.

Recommended Posts

Hi all, is there a way I can tell if a specific unit has discharged his weapon?

I want to use it in a cut scene to make one of the actors respond to enemy fire verbally.

After searching the forum for something similar I think this would be the best way to do this instead of looking for bullets nearby through a constant loop which would almost certainly have an impact on performance.

Thanks for any help,

Paul.

Share this post


Link to post
Share on other sites

A workaround could be to just play the sound and then the voice.

STGN

Share this post


Link to post
Share on other sites

Hi STGN, Thanks for the answer. I never thought of this and I will use it as a last resort but, I have the camera set up in such a way that the player will be able to see the projectile (in this case an RPG) and I don't really want to lose that.

Is there some way I can set up a unit and FORCE it to fire without using the dofire command maybe through animation?

Thanks for your help,

Paul.

Share this post


Link to post
Share on other sites

Thanks Rellikki, I'll have a go at that. I'll let you know how I get on.

Share this post


Link to post
Share on other sites

Jey Rellikki, Just tried the event handler thingy and it works like a dream.

It's gonna be great hearing the shout of 'SNIPER FIRE! GET IN COVER, GO! GO! GO!" and 'RPG, ROOF TOPS, 4 O'CLOCK' :)

Cheers,

Paul.

Edited by paulytrick

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  

×