Jump to content
Sign in to follow this  
Somerville

addAction?

Recommended Posts

I'm experimenting making a mission. I want the leader of a group to have the following actions when he presses return:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

"Position Target at Close Range"

"Position Target at Medium Range"

"Position Target at Long Range"

When he selects any of these targets, the target - t1 - needs to be put in the same position as one of 3 invisible H's - these are named p1, p2, and p3 respectively.

I know that in order to make the target go to these places, I need to put the following in the init line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">t1 setposasl getposasl p1

So  at the moment, I'm using triggers set to Radio Alpha, Bravo and Charlie in order to acheive this. However, I just wondered if it was possible to do it via a script and adding actions to the leader's options?

Thanks for your help

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  

×