setCaptive: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
<h2 style="color:#000066">'''''person'' setCaptive '' | <h2 style="color:#000066">'''''person'' setCaptive ''captive'''''</h2> | ||
Line 12: | Line 12: | ||
'''person:''' [[Object]] | '''person:''' [[Object]] | ||
''' | '''captive:''' [[Boolean]] | ||
'''Type of returned value:''' | '''Type of returned value:''' |
Revision as of 19:54, 4 July 2006
person setCaptive captive
Operand types:
person: Object
captive: Boolean
Type of returned value:
Description:
Mark unit as captive.
If unit is a vehicle, commander is marked.
A captive is neutral to everyone.
Note: This function does not remove unit's weapons.
Note: If you make a unit captive, that unit will still fire on the enemy, but the enemy will not fire back.
Example:
soldier1 setCaptive true