kalasnikov471 0 Posted March 8, 2008 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
SeppSchrot 0 Posted March 9, 2008 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
kalasnikov471 0 Posted March 9, 2008 Ok, so how would i make this eventhandler work? 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
SeppSchrot 0 Posted March 9, 2008 Events http://community.bistudio.com/wiki/addEventHandler Share this post Link to post Share on other sites