Jump to content
Sign in to follow this  
UKSubmariner

Quick scripting help

Recommended Posts

I can't find the answers in the common reference, so I hope you guys can answer these questions

(i) How do I change the allegiance (or side) of a unit?

(ii) How does one stop a unit from ducking to the floor (I want them to fight normally, but not dive to the ground)

(iii) How can I have the East and West allied against the Resistance?

I am absolutely stumped.... any ideas?

Share this post


Link to post
Share on other sites

1. Not possible to do it in game, but you can change it in the mission.sqm file.

2. You can use this setpos "up" I think.

3. You can use resistance friendly to none, click the top right of the screen. But to stop the East and the West shooting each otehr is going to be tricky, unless you set the units from both sides as west from the mission.sqs.

RED

Share this post


Link to post
Share on other sites

Cheers... so I gotta fiddle with the Sqm file?

No problems....

What variable do I use for the Setpos command line?

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (RED @ Aug. 23 2002,15:00)</td></tr><tr><td id="QUOTE">2. You can use this setpos "up" I think.<span id='postcolor'>

I think that the correct command is:

unit setUnitPos "UP" ( soldier stands )

unit setUnitPos "DOWN" ( unit lies down )

unit setUnitPost "AUTO" ( unit makes the choice )

smile.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  

×