BSL:AI tasks: Difference between revisions

2 bytes removed ,  Yesterday at 00:21
m
TOCfloat no longer does anything in Vector 2022
(filling in command docs)
m (TOCfloat no longer does anything in Vector 2022)
 
(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>
{| {{BSL Group Table Header}}<onlyinclude>{{BSL Group Table|{{PAGENAME}}}}</onlyinclude>
|}
|}
Line 51: Line 51:
{{:ai2_movetoflag}}
{{:ai2_movetoflag}}


Tells an AI to move to a [[XML:FLAG|flag]], assuming such a route is possible (flag locations by ID are available [http://geyser.oni2.net/OBD/BINA/OBJC/FLAG/TrimmedList/ here]). If you pass the string "setfacing" for the argument "setfacing", then the AI will also assume the facing angle that is part of the flag data when they reach the flag. If you want the player character to move to a flag, you must first use "ai2_takecontrol 1".
Tells an AI to move to a [[XML:BINA/OBJC/FLAG|flag]], assuming such a route is possible (flag locations by ID are available [http://geyser.oni2.net/OBD/BINA/OBJC/FLAG/TrimmedList/ here]). If you pass the string "setfacing" for the argument "setfacing", then the AI will also assume the facing angle that is part of the flag data when they reach the flag. If you want the player character to move to a flag, you must first use "ai2_takecontrol 1".