Jump to content
Sign in to follow this  
demonhunter212

2 Quick Questions

Recommended Posts

Could you possibly answer my two questions real quick

1: How do you get a helicopter to land because i use the code <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Bravo action ["LAND"] but the helicopter just floats there

2: Is there any possible way for the AI not to go prown because im trying to make a level where a convoy comes under attack and the troops have to defend it but if the troops go prown they won't be able to Defend or shoot anything other then the HMMWV's

Thanks thumbs-up.gif

Share this post


Link to post
Share on other sites

1. Either a land waypoint or the land command -

Quote[/b] ]helicopter land mode

Operand types:

helicopter: Object

mode: String

Type of returned value:

Nothing

Description:

Force helicopter landing. Landing mode may be "LAND" (complete stop), "GET IN" (hovering very low, for another unit to get in), "GET OUT" (hovering low,for another unit to get out)

Example:

cobraOne land "LAND"

2. Don't really know, but I think it involves playMove!

Share this post


Link to post
Share on other sites
Quote[/b] ]2: Is there any possible way for the AI not to go prown because im trying to make a level where a convoy comes under attack and the troops have to defend it but if the troops go prown they won't be able to Defend or shoot anything other then the HMMWV's

UNIT setunitpos "UP"

Quote[/b] ]unit setUnitPos mode

Operand types:

   unit: Object

   mode: String

Type of returned value:

   Nothing

Description:

   Set unit position rules. Mode may be one of: "DOWN", "UP", "AUTO".

Example:

   soldierOne setUnitPos "Down"

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  

×