5,389
edits
mNo edit summary |
m (fiddling) |
||
Line 15: | Line 15: | ||
!Type!!Name!!Arguments!!Comment!!Works | !Type!!Name!!Arguments!!Comment!!Works | ||
|- | |- | ||
| || ai2_active| | | || ai2_active | ||
| | |||
#string ai_name | |||
#*int script_id | |||
| forces AI '''ai_name'''/'''script_id''' into active mode|| | |||
|- | |- | ||
| || ai2_allpassive| | | || ai2_allpassive | ||
| | |||
#int passive | |||
| makes all AI passive if '''passive'''=1, makes them active if '''passive'''=0|| | |||
|- | |- | ||
| || ai2_attack| | | || ai2_attack | ||
| | |||
#string ai_name | |||
#*int script_id | |||
#string target_name | |||
#*int target_script_id | |||
| forces AI '''ai_name'''/'''script_id''' to attack character '''target_name'''/'''target_script_id''' || | |||
|- | |- | ||
| || ai2_barabbas_retrievegun| | | || ai2_barabbas_retrievegun | ||
| | |||
#string ai_name | |||
#*int script_id | |||
| makes barabbas retrieve his gun if it is lost || | |||
|- | |- | ||
| || ai2_chump| | | || ai2_chump | ||
| | |||
:void | |||
| creates a chump|| | |||
|- | |- | ||
| || ai2_comehere| | | || ai2_comehere | ||
| | |||
#string ai_name | |||
#*int script_id | |||
| tells an AI to come to the player|| | |||
|- | |- | ||
| || ai2_debug_makesound|| || || | | || ai2_debug_makesound|| || || | ||
|- | |- | ||
| || ai2_doalarm| | | || ai2_doalarm | ||
| | |||
#string ai_name | |||
#*int script_id | |||
#int console_id | |||
| tells an AI to run for an alarm || | |||
|- | |- | ||
| || ai2_dopath| | | || ai2_dopath | ||
| | |||
#string ai_name | |||
#*int script_id | |||
#string path_name | |||
| tells an AI to run a particular path || | |||
|- | |- | ||
| || ai2_findconnections|| || || | | || ai2_findconnections|| || || | ||
|- | |- | ||
| || ai2_followme| | | || ai2_followme | ||
| | |||
#string ai_name | |||
#*int script_id | |||
| tells an AI to follow the player || | |||
|- | |- | ||
| || ai2_forget| | | || ai2_forget | ||
| | |||
#string ai_name | |||
#*int script_id | |||
#string forget_char | |||
| makes one or all AIs forget they saw anything || | |||
|- | |- | ||
| || ai2_idle| | | || ai2_idle | ||
| | |||
#string ai_name | |||
#*int script_id | |||
| tells an AI to become idle || | |||
|- | |- | ||
| || ai2_inactive|| ai_name:string<br>script_id:int|| forces an AI into inactive mode|| | | || ai2_inactive|| ai_name:string<br>script_id:int|| forces an AI into inactive mode|| |