Rescue


0007041a When shot/hit, assign function 041a
0033fd06 If $self is dying/dead goto 06
0034fd06 If $self has finished death animation goto 06
017bfd06 If $self's body has disappeared goto 06
00002d Go to next 2d
000206 Label 06
00070000 When shot/hit, assign function 0000 - Idle
00b6 Reset and start cycle counter
000254 Label 54
0003 Yield
00bd00000f06 If cycle counter > 15 (0.2 secs) goto 06
000154 Go to first 54
000206 Label 06
0130f819ff03ff000000 Say random quip: "You bitch!","Oh... my... god","She got me"
00070000 When shot/hit, assign function 0000 - Idle
0005fd0000 Assign function 0000 - Idle to $self and advance frame
00022d Label 2d
0083fd06 If $self shot (while recoiling?) goto 06
00002d Go to next 2d
000206 Label 06
00b6 Reset and start cycle counter
000255 Label 55
0003 Yield
009d00000020010006 If actor flag is something, goto 06
007d0106 If actor shot less than 1 times goto 06
00bc00001406 If cycle counter < 20 (0.3 secs) goto 06
0130f80d280300000000 Say random quip: "Medic!","Help!","You shot me?!"
0130f80e280301000000 Say random quip: "I'm hit, I'm hit!","I'm taking fire!","Taking damage!"
009b0000002000 Set an actor flag
000206 Label 06
003258 If actor has stopped moving goto 58
000155 Go to first 55
000258 Label 58
00005a Go to next 5a
00022d Label 2d
0009 Actor stops travelling
000204 Label 04
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
005bf200008308 If P1 or P2 is in room/pad 83 goto 08
000104 Go to first 04
000208 Label 08
0003 Yield
008e63012d If actor's alertness > 99 goto 2d
00352d If $player in sight goto 2d
005200322d If actor is within 50 units of $player goto 2d
000108 Go to first 08
00022d Label 2d
00b6 Reset and start cycle counter
000208 Label 08
00180200000009 Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 09
000209 Label 09
0003 Yield
004d0a06 If actor is facing player within 10 degrees (?) goto 06
00bd00003c06 If cycle counter > 60 (1.0 secs) goto 06
000109 Go to first 09
000206 Label 06
00cdf62a3a1abb0408 Display text and play a sound in channel 4 for player:
Hey, that's not Harry. It's an intruder.
013178 For all actors in the same group, set their alertness to 120
00b6 Reset and start cycle counter
000b002e0000ffff1810fd02 Actor $self does animation 002e (arms up, surrender)
00020a Label 0a
0003 Yield
00bd00007806 If cycle counter > 120 (2.0 secs) goto 06
00010a Go to first 0a
000206 Label 06
0020011e Run to pad 011e
00020b Label 0b
0003 Yield
00325a If actor has stopped moving goto 5a
00010b Go to first 0b
00025a Label 5a
000b02880000ffff0010fd02 Actor $self does animation 0288 (pull out pistol)
00020c Label 0c
0003 Yield
003206 If actor has stopped moving goto 06
00010c Go to first 0c
000206 Label 06
00b54352454154454420574541500a00 // CREATED WEAP
00c8010e1c1000000006 Draw weapon Tranquilizer with model 010e then goto 06
000206 Label 06
0106f80000 Set $player to Joanna
0005fd0007 Assign function 0007 - Alerted guard to $self and advance frame
0004 End of function

Invocations

  • Initial function for actor 3e (Male Lab Technician)

Comments

There are no comments yet for this function.