bmgarcangel 0 Posted October 31, 2003 whats the command that activates a something else, like when I fire a law, the moment the law leaves, a script is activated. But how is this done Share this post Link to post Share on other sites
RED 0 Posted October 31, 2003 Use eventhandlers, I posted a small example of what they do on the previous page. RED Share this post Link to post Share on other sites
bmgarcangel 0 Posted October 31, 2003 well...... I kind of don't understand it........ Share this post Link to post Share on other sites
bmgarcangel 0 Posted October 31, 2003 would it be like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> me addEventHandler ["law",{[_this select 1] exec down.sqs}] Down sqs. would be like a small cam script and shit, that would show this one tank just before hte missile hits hehe so, what is above, does that work? Share this post Link to post Share on other sites
RED 0 Posted October 31, 2003 No, the only event types are these: http://www.flashpoint1985.com/docs....r_Event handlers me addEventHandler ["fired",{_this exec down.sqs}] That will pass all the info from the fired event to the down.sqs script. RED Share this post Link to post Share on other sites
Acro 0 Posted November 2, 2003 There was cool bullet cam scripts at Ofpec that used event handlers. I had good time whit them when I mixed them up with slo mo. Share this post Link to post Share on other sites