Global


00b553454520504c41590a00 // SEE PLAY
0033fd13 If $self is dying/dead goto 13
0034fd13 If $self has finished death animation goto 13
017bfd13 If $self's body has disappeared goto 13
000016 Go to next 16
000213 Label 13
00070000 When shot/hit, assign function 0000 - Idle
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000216 Label 16
0006fd001f Set return function for $self to function 001f - Related to spawning
0106f20000 Set $player to P1 or P2
0007001f When shot/hit, assign function 001f - Related to spawning
007d011a If actor shot less than 1 times goto 1a
00021a Label 1a
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
008e640016 If actor's alertness < 100 goto 16
000078 Go to next 78
000216 Label 16
003e011e If someone killed in sight of actor goto 1e
003d011e If shot near actor goto 1e
004e00000116 If player is looking right at something (?) goto 16
00351e If $player in sight goto 1e
000216 Label 16
009d00010000000016 If actor flag is something, goto 16
0128fe13 If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 13
000016 Go to next 16
000213 Label 13
000012 Go to next 12
000216 Label 16
004b1e If fired near actor goto 1e
007e001e If actor shot more than 0 times goto 1e
009d40000000000016 If actor flag is something, goto 16
003f16 If $player is in line of sight goto 16
000013 Go to next 13
000216 Label 16
00441f If actor shot at point blank range goto 1f
000213 Label 13
009d00800000000016 If actor flag is something, goto 16
003a23 If alarm is activated goto 23
000216 Label 16
00011a Go to first 1a
00021e Label 1e
00b5534545204445544543540a00 // SEE DETECT
0130f80bff03ff000000 Say random quip: "Hey, you!","Intruder alert","We've got a contact!"
00029f Label 9f
013164 For all actors in the same group, set their alertness to 100
008aff Set alertness to 255
0006fd001f Set return function for $self to function 001f - Related to spawning
0005fd000c Assign function 000c - Combat with ally? to $self and advance frame
00021f Label 1f
0003 Yield
0130f809ff03ff000000 Say random quip: "Did you hear that?","What's that noise?","I heard a noise..."
009d200000000100da If actor flag is something, goto da
013164 For all actors in the same group, set their alertness to 100
0006fd001f Set return function for $self to function 001f - Related to spawning
0005fd000c Assign function 000c - Combat with ally? to $self and advance frame
0002da Label da
00460e If something (to do with spawning clones?) goto 0e
0006fd001f Set return function for $self to function 001f - Related to spawning
0005fd000c Assign function 000c - Combat with ally? to $self and advance frame
00020e Label 0e
0034f90e If clone of $self has finished death animation goto 0e
017bf90e If clone of $self's body has disappeared goto 0e
0006fd001f Set return function for $self to function 001f - Related to spawning
0005fd001f Assign function 001f - Related to spawning to $self and advance frame
00020e Label 0e
00cafd001d0000000013 Spawn clone of $self with function 001d - Searching then goto 13
0006fd001f Set return function for $self to function 001f - Related to spawning
0005fd000c Assign function 000c - Combat with ally? to $self and advance frame
000213 Label 13
0005fd001f Assign function 001f - Related to spawning to $self and advance frame
000278 Label 78
009d20000000000013 If actor flag is something, goto 13
008a00 Set alertness to 0
0001da Go to first da
000213 Label 13
0006fd001f Set return function for $self to function 001f - Related to spawning
0005fd000c Assign function 000c - Combat with ally? to $self and advance frame
000212 Label 12
009d00100000010113 If actor flag is something, goto 13
0006fd001f Set return function for $self to function 001f - Related to spawning
000213 Label 13
00b55741524e454442454e44330a00 // WARNEDBEND3
0006fd001f Set return function for $self to function 001f - Related to spawning
0005fd000c Assign function 000c - Combat with ally? to $self and advance frame
0004 End of function

Comments

There are no comments yet for this function.