Air Base


00a400040000 Set property for actor $self: 1:00040000 (unknown prop)
008400 Set action block variable to value 0
00070409 When shot/hit, assign function 0409 - Upstairs casual 1
0033fd02 If $self is dying/dead goto 02
0034fd02 If $self has finished death animation goto 02
017bfd02 If $self's body has disappeared goto 02
000042 Go to next 42
000202 Label 02
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000242 Label 42
000b02270000ffff1410fd02 Actor $self does animation 0227 (sitting)
000200 Label 00
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
003502 If $player in sight goto 02
003d004f If shot near actor goto 4f
00a300400000014f If flag #23 (office casual 2 dead) is true goto 4f
00624533 If object 45 (dD window glass) is in good condition goto 33
00004f Go to next 4f
000233 Label 33
000c31 If actor is not doing anything goto 31
000142 Go to first 42
000231 Label 31
000100 Go to first 00
000202 Label 02
00a3000010000007 If flag #13 (disguise worn) is false goto 07
0060f60131 If player player has weapon Unarmed equipped goto 31
0060f63231 If player player has weapon Horizon Scanner equipped goto 31
0060f64d31 If player player has weapon Suitcase equipped goto 31
000007 Go to next 07
000231 Label 31
000b02650000ffff1410fd02 Actor $self does animation 0265 (sitting, arms on legs)
00cdf60e291ae60408 Display text and play a sound in channel 4 for player:
Are you new around here?
000209 Label 09
0003 Yield
003d004f If shot near actor goto 4f
00a300400000014f If flag #23 (office casual 2 dead) is true goto 4f
005df60002 If player player has object 00 (briefcase) goto 02
0060f60131 If player player has weapon Unarmed equipped goto 31
0060f63231 If player player has weapon Horizon Scanner equipped goto 31
0060f64d31 If player player has weapon Suitcase equipped goto 31
000007 Go to next 07
000231 Label 31
000c31 If actor is not doing anything goto 31
00007b Go to next 7b
000231 Label 31
000109 Go to first 09
00027b Label 7b
000b02270000ffff1400fd02 Actor $self does animation 0227 (sitting)
000109 Go to first 09
000202 Label 02
00b6 Reset and start cycle counter
0018020000000b Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 0b
00020b Label 0b
0003 Yield
01380431 If sound in channel 4 is finished goto 31
00010b Go to first 0b
000231 Label 31
004d0a02 If actor is facing player within 10 degrees (?) goto 02
00bd00003c02 If cycle counter > 60 (1.0 secs) goto 02
00010b Go to first 0b
000202 Label 02
00cdf60e2a1ae70408 Display text and play a sound in channel 4 for player:
Hey - give me back my case.
00b6 Reset and start cycle counter
013164 For all actors in the same group, set their alertness to 100
00020a Label 0a
0003 Yield
00bd00007802 If cycle counter > 120 (2.0 secs) goto 02
00010a Go to first 0a
000202 Label 02
00004f Go to next 4f
000207 Label 07
0112025aff02ffff Object ff does animation
00b6 Reset and start cycle counter
00180200000005 Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 05
000205 Label 05
0003 Yield
004d0a02 If actor is facing player within 10 degrees (?) goto 02
00bd00003c02 If cycle counter > 60 (1.0 secs) goto 02
000105 Go to first 05
000272 Label 72
000202 Label 02
00cdf60e281ae50408 Display text and play a sound in channel 4 for player:
Hey, you - this is a restricted area.
013164 For all actors in the same group, set their alertness to 100
00b6 Reset and start cycle counter
000b0226ffffffff1010fd02 Actor $self does animation 0226 (arms up halfway scared, backup up)
000206 Label 06
0003 Yield
00bd0000b44f If cycle counter > 180 (3.0 secs) goto 4f
000106 Go to first 06
00024f Label 4f
001d001b Jog to pad 001b
000208 Label 08
0003 Yield
003202 If actor has stopped moving goto 02
000108 Go to first 08
000202 Label 02
00cdf60e2c1ae80408 Display text and play a sound in channel 4 for player:
Upstairs...there's an intruder.
013164 For all actors in the same group, set their alertness to 100
00a100000800 Set flag #12 (Objective failed: Obtain disguise and enter base)
0028 Activate alarm
0005fd0000 Assign function 0000 - Idle to $self and advance frame
0004 End of function

Invocations

Comments

There are no comments yet for this function.