Jump to content
Sign in to follow this  
kalasnikov471

Script Help

Recommended Posts

Hi, I would like to know if a script could be made so that when a smoke gernde is thrown a plane will bomb that place were the gernade is smokeing?

Share this post


Link to post
Share on other sites

What I know is possible is that an eventhandler can be added that fires when a certain soldier fires a smoke grenade. The position of the soldier firing can be obtained then rather easily but AFAIK not the grenade's position. But one could additionally ask for the direction the soldier was facing while firing and together with an estimated distance of say 20 meters this should give a sufficient prediction where the grenade is going to land.

You can then order the bomber pilot to attack that position.

(Maybe one needs to involve an invisible target being set to that position.)

Share this post


Link to post
Share on other sites

Ok, so how would i make this eventhandler work? whistle.gif I'm not good at scripts, modeling and island makeing is more my cup of tea ^^

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  

×