0201 |
Label 01 |
03 |
Yield |
3207 |
If Bond is in sight then goto 07 |
3e0d |
If actor has seen Bond or been shot in the last 10 seconds then goto 0d |
3f0d |
If actor heard Bond in the last 10 seconds then goto 0d |
460d |
If a bullet just missed us then goto 0d |
3a0d |
If Bond shot another actor then goto 0d |
3b0d |
If an actor is killed in sight of this actor then goto 0d |
0101 |
Go to first 01 |
0207 |
Label 07 |
060002 |
Set return function to function 0002 - General guard |
05fd0006 |
Assign function 0006 - Take a shot to $self and advance frame |
020d |
Label 0d |
060002 |
Set return function to function 0002 - General guard |
05fd0008 |
Assign function 0008 - Jog to Bond and attack if seen to $self and advance frame |
020e |
Label 0e |
060002 |
Set return function to function 0002 - General guard |
05fd000b |
Assign function 000b - Alerted cloneable guard to $self and advance frame |
04 |
End of function |
Wait for Bond in sight or some other detection
* If Bond in sight, assign 0006 (take a shot)
* If some other detection, assign 0002
Label 0E is unreachable