BSL:AI tasks: Difference between revisions

m
link fix
(filling in command docs)
m (link fix)
 
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".