Jump to content
Sign in to follow this  
kerosene

If Then staements

Recommended Posts

Im trying to make a radio message get broadcast when a certain unit named rdr is dead. I tried the following in a script that otherwise works:

If (rdr This && !(alive rdr)) then ([Resistance,"HQ"] sideChat " blah, blah.")

But I got an error message What needs to go in the OF section to make it happen?

Share this post


Link to post
Share on other sites

Try

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">If (!alive rdr) then {[Resistance,"HQ"] sideChat " blah, blah."}

The () after the 'then' statement must be in either quotes or these {}

same thing with 'else'.

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  

×