00b543524541544544203500 |
// CREATED 5 |
00070409 |
When shot/hit, assign function 0409 |
000204 |
Label 04 |
0003 |
Yield |
0034fd2f |
If $self has finished death animation goto 2f |
0033fd2f |
If $self is dying/dead goto 2f |
017bfd2f |
If $self's body has disappeared goto 2f |
00b6 |
Reset and start cycle counter |
002100 |
Activate path 00 |
0022 |
Start path |
000208 |
Label 08 |
0003 |
Yield |
00b54f6e20506174726f6c00 |
// On Patrol |
0034fd2f |
If $self has finished death animation goto 2f |
0033fd2f |
If $self is dying/dead goto 2f |
017bfd2f |
If $self's body has disappeared goto 2f |
003509 |
If $player in sight goto 09 |
00a500000010 |
Unset property for actor $self: 1:00000010 (invincible) |
008a00 |
Set alertness to 0 |
000108 |
Go to first 08 |
000206 |
Label 06 |
000209 |
Label 09 |
00a400000010 |
Set property for actor $self: 1:00000010 (invincible) |
0018020000000a |
Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 0a |
00020a |
Label 0a |
0003 |
Yield |
003f06 |
If $player is in line of sight goto 06 |
000104 |
Go to first 04 |
000206 |
Label 06 |
00010a |
Go to first 0a |
00022f |
Label 2f |
00a400000010 |
Set property for actor $self: 1:00000010 (invincible) |
00a400000040 |
Set property for actor $self: 1:00000040 (unknown prop) |
000257 |
Label 57 |
0003 |
Yield |
00c65eff0125040a0000221006 |
Spawn actor at pad 0125 with function 040a then goto 06 |
000157 |
Go to first 57 |
000206 |
Label 06 |
00070000 |
When shot/hit, assign function 0000 - Idle |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
0004 |
End of function |
There are no comments yet for this function.