Jump to content
Sign in to follow this  
Skul

When a unit fires his law...

Recommended Posts

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

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

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

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. smile_o.gif

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  

×