19,997
edits
(we can do away with the Group column on grouped pages and still have it on BSL:List) |
(using template for table header) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Commands for controlling the activity of AIs. | Commands for controlling the activity of AIs. | ||
{{TOCfloat}} | |||
{| | {| {{BSL Group Table Header}}<onlyinclude>{{BSL Group Table|{{PAGENAME}}}}</onlyinclude> | ||
|} | |} | ||
| Line 39: | Line 35: | ||
|} | |} | ||
Passive is not the opposite of active (see above). Even when passive, an AI can still be active. However, when these functions are passed "true" for "passive", the specified AI (or all AIs, with '''ai2_allpassive''') will stop all "intelligent" activity (melee, gunfights, pursuit), but passive AIs will still patrol. Since the default value for "passive" is 0, you don't need to pass anything for that argument to make an AI non-passive again; i.e., "ai2_allpassive();" turns off passiveness for all AIs. '''chr_freeze''' and '''chr_neutral''' are simply aliases for '''ai2_passive'''. | |||
==Alert status== | ==Alert status== | ||