| 
				 | 
				
| Line 249: | 
Line 249: | 
 | | bgcolor="#CACAFF" | 00 00 00 00  |  | | bgcolor="#CACAFF" | 00 00 00 00  | 
 | | 0  |  | | 0  | 
 | | align="LEFT" | Alarm group number, see below  |  | | align="LEFT" | Alarm groups (bitset), see below  | 
 | |-  |  | |-  | 
 | | bgcolor="#F0F000" | 04 00 00 00  |  | | bgcolor="#F0F000" | 04 00 00 00  | 
| Line 293: | 
Line 293: | 
 | :3 - high  |  | :3 - high  | 
 | :4 - combat  |  | :4 - combat  | 
 | ;Alarm event  |  | ;Alarm groups  | 
 | :0 - no alarm group  |  | :Stored as a bitset  | 
 | :1 - character is alarmed either by *ai2_tripalarm 0* or alarm console command *0060 0000*  |  | :If bit 2^N is ON, the character will be alarmed by script command '''ai2_tripalarm(N)''' or alarm console command '''0060 NN00''' where NN is the hex for N.  | 
 | :2 - character is alarmed either by *ai2_tripalarm 1* or alarm console command *0060 0100*
  |  | :(Since the size of the alarm group field is 4 bytes,  | 
 | :3 - character is alarmed either by *ai2_tripalarm 0*, *ai2_tripalarm 1* or alarm console commands *0060 0000* and *0060 0100*
  |  | ::there's a maximum of 32 alarm groups,  | 
 | :4 - character is alarmed either by *ai2_tripalarm 2* or by alarm console command *0060 0200*  |  | :::i.e. N ranges from 0 to 31)  | 
 | :5 - character is alarmed either by *ai2_tripalarm 0*, *ai2_tripalarm 2* or alarm console commands *0060 0000* and *0060 0200*
  |  | 
 | :6 - character is alarmed either by *ai2_tripalarm 1*, *ai2_tripalarm 2* or alarm console commands *0060 0100* and *0060 0200*  |  | 
 | :7 - character is alarmed either by *ai2_tripalarm 0*, *ai2_tripalarm 1*, *ai2_tripalarm 2* or alarm console commands *0060 0000*, *0060 0100* and *0060 0200*  |  | 
 | ...it continues but I don't want to waste space.  |  | 
 | 
  |  | 
  | 
 | 
  |  | 
  |