ad446f6e650a00 |
// Done |
8f0050 |
Set actor health to 80 |
c000dc0000000001 |
Spawn hat with model dc, then goto 01 |
0201 |
Label 01 |
bf00bd0a0000000001 |
Draw weapon D5K with model bd, then goto 01 |
0201 |
Label 01 |
33 |
Call RNG |
35c801 |
If random byte > 200 then goto 01 |
060401 |
Set return function to function 0401 - General guard |
05fd0401 |
Assign function 0401 - General guard to $self and advance frame |
0201 |
Label 01 |
9401 |
Set $self->somevalue to 1 |
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 |
04 |
End of function |
Spawned guard has a 20% chance of running to Bond and attacking, vs staying where they are until Bond detected.