Sandbox: Difference between revisions

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