Goetterfunke2 0 Posted March 7, 2002 Since 1.46 there is a new easy to use function if you fire a flare, the "onFalre.sqs" is called in missionfolder it gets the flarecolour and the gunner who fired it as array watch this example mission i made http://www.k-foren.de/attachm....=296532 So you can call Support if you fire a flare now you can even depend it on flare colour e.g. green: evacuate red: need support etc.. Share this post Link to post Share on other sites
suma 8 Posted March 7, 2002 It looks like somebody is really reading readme file: - When a starshell is lit, script onFlare.sqs in mission directory is called. Received [[R, G, B], gunner], where R, G, B is the light color from <0, 1>. This is a good habit. Sometimes there is really something usefull in there. Share this post Link to post Share on other sites
Goetterfunke2 0 Posted March 7, 2002 yes, i read it there the problem was s.th. i didnt know: you can have arrays inside arrays (=subarrays?) so this example is about how people can manage this Share this post Link to post Share on other sites
Goetterfunke2 0 Posted March 7, 2002 ah shit, this example needs addons so here is one without needing addons download Share this post Link to post Share on other sites