Jump to content
Sign in to follow this  
Kushranda

Soldiers. hold fire

Recommended Posts

I want to put an enemy soldier in front of me with a gun.

But, he may not fire on my.

Help please,

Thanks for reading

Share this post


Link to post
Share on other sites
I want to put an enemy soldier in front of me with a gun.

But, he may not fire on my.

Help please,

Thanks for reading

group setCombatMode mode

Operand types:

   group: Object or Group

   mode: String

Type of returned value:

   Nothing

Description:

   Set group combat mode (engagement rules). Mode may be one of: "BLUE" (Never fire), "GREEN" (Hold fire - defend only), "WHITE" (Hold fire, engage at will), "YELLOW" (Fire at will), "RED" (Fire at will, engage at will).

Example:

   groupOne setCombatMode "BLUE"

Hopes this helps

Share this post


Link to post
Share on other sites

Or you can use too

in your own init line

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

and no AI , whatever you can do and kill , will want to shoot at you.

Until a trigger make for you

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

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×