911e |
Set reaction speed to 30 |
9314 |
Set accuracy to 20 |
8d33 |
Set actor's grenade probability to 51/255 |
0234 |
Label 34 |
140021000000 |
Aim/shoot at something (entity type=0x0021, entity_id=0x0000), then goto 00 |
0200 |
Label 00 |
03 |
Yield |
4623 |
If a bullet just missed us then goto 23 |
3a23 |
If Bond shot another actor then goto 23 |
3b23 |
If an actor is killed in sight of this actor then goto 23 |
3223 |
If Bond is in sight then goto 23 |
3c23 |
If we have a line of sight on Bond then goto 23 |
0100 |
Go to first 00 |
0223 |
Label 23 |
33 |
Call RNG |
35c83a |
If random byte > 200 then goto 3a |
356423 |
If random byte > 100 then goto 23 |
160001000003 |
Shoot player 1 (?), then goto 03 |
023a |
Label 3a |
1a03 |
Roll to throw grenade. If successful goto 03 |
0223 |
Label 23 |
09 |
Kneel |
ae |
Reset and start cycle counter |
0204 |
Label 04 |
03 |
Yield |
33 |
Call RNG |
35fa23 |
If random byte > 250 then goto 23 |
b40000b423 |
If cycle counter > 180 (3.0 secs) then goto 23 |
0104 |
Go to first 04 |
0223 |
Label 23 |
08 |
Briefly aim at Bond |
03 |
Yield |
03 |
Yield |
03 |
Yield |
03 |
Yield |
0223 |
Label 23 |
140021000023 |
Aim/shoot at something (entity type=0x0021, entity_id=0x0000), then goto 23 |
0223 |
Label 23 |
160001000023 |
Shoot player 1 (?), then goto 23 |
0223 |
Label 23 |
0203 |
Label 03 |
03 |
Yield |
2f01 |
If actor has stopped moving then goto 01 |
0103 |
Go to first 03 |
0201 |
Label 01 |
0134 |
Go to first 34 |
04 |
End of function |
There are no comments yet for this function.