Chicago


0007041d When shot/hit, assign function 041d - FBI agent
0033fd04 If $self is dying/dead goto 04
0034fd04 If $self has finished death animation goto 04
017bfd04 If $self's body has disappeared goto 04
000003 Go to next 03
000204 Label 04
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000203 Label 03
007d0119 If actor shot less than 1 times goto 19
000205 Label 05
0003 Yield
003204 If actor has stopped moving goto 04
000105 Go to first 05
000204 Label 04
000017 Go to next 17
000204 Label 04
0130f81bff00ff810000 Say random quip: unknown quip
013164 For all actors in the same group, set their alertness to 100
000016 Go to next 16
000219 Label 19
01320101 Undocumented (to do with cover?)
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
008e640004 If actor's alertness < 100 goto 04
000016 Go to next 16
000204 Label 04
003518 If $player in sight goto 18
004b18 If fired near actor goto 18
007e0018 If actor shot more than 0 times goto 18
003c16 If actor sees (or heard?) gunfire goto 16
003d0016 If shot near actor goto 16
003e0016 If someone killed in sight of actor goto 16
004c16 If actor dying goto 16
000119 Go to first 19
000216 Label 16
00a3004000000004 If flag #23 (FBI activated alarm) is false goto 04
000217 Label 17
00c800f8081000000003 Draw weapon Dy357 Magnum with model f8 then goto 03
000203 Label 03
0005fd0007 Assign function 0007 - Alerted guard to $self and advance frame
000204 Label 04
00b5545241434b20504c415945520a00 // TRACK PLAYER
002b06 Run to Jo with hand up (eg. in rain), then goto 06
000206 Label 06
0003 Yield
0052003218 If actor is within 50 units of $player goto 18
003518 If $player in sight goto 18
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
003518 If $player in sight goto 18
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
000106 Go to first 06
000218 Label 18
00a3004000000004 If flag #23 (FBI activated alarm) is false goto 04
00c800f8081000000003 Draw weapon Dy357 Magnum with model f8 then goto 03
000203 Label 03
0005fd0007 Assign function 0007 - Alerted guard to $self and advance frame
000204 Label 04
00b6 Reset and start cycle counter
0018020000000d Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 0d
00020d Label 0d
0003 Yield
004d0a04 If actor is facing player within 10 degrees (?) goto 04
00bd00002804 If cycle counter > 40 (0.7 secs) goto 04
00010d Go to first 0d
000204 Label 04
0130f81bff00ff810000 Say random quip: unknown quip
000b0266000000c10010fd02 Actor $self does animation 0266 (covering mouth looking)
00020e Label 0e
0003 Yield
00770103 If difficulty < SA goto 03
01a7fd04 If something to do with $self goto 04
000203 Label 03
003204 If actor has stopped moving goto 04
00010e Go to first 0e
000204 Label 04
00b54352454154454420574541500a00 // CREATED WEAP
00c800f8081000000004 Draw weapon Dy357 Magnum with model f8 then goto 04
000204 Label 04
0003 Yield
00a100400000 Set flag #23 (FBI activated alarm)
0028 Activate alarm
00b54352454154454420574541500a00 // CREATED WEAP
0005fd0007 Assign function 0007 - Alerted guard to $self and advance frame
0004 End of function

Invocations

Comments

There are no comments yet for this function.