Jump to content

BSL:Functions: Difference between revisions

m
→‎ai2: added note to ai2_followme
(→‎ai2: moved ai2_tripalarm up to all-AI section, added description of it)
m (→‎ai2: added note to ai2_followme)
Line 118: Line 118:
*ai2_findconnections [distance:int | ] - finds all BNV connections from the player's location
*ai2_findconnections [distance:int | ] - finds all BNV connections from the player's location
*ai2_followme [ai_name:string | script_id:int] - tells an AI to follow the player - ai2_followme s2_t05
*ai2_followme [ai_name:string | script_id:int] - tells an AI to follow the player - ai2_followme s2_t05
''The AI will navigate to your position, but will stay there instead of continuing to follow you.''
*ai2_forget [ai_name:string | script_id:int] [forget_char:string] - makes one or all AIs forget they saw anything - ai2_forget Sec_Ambush_BOL_1
*ai2_forget [ai_name:string | script_id:int] [forget_char:string] - makes one or all AIs forget they saw anything - ai2_forget Sec_Ambush_BOL_1
*ai2_idle [ai_name:string | script_id:int] - tells an AI to become idle - ai2_idle A1_intro01
*ai2_idle [ai_name:string | script_id:int] - tells an AI to become idle - ai2_idle A1_intro01