Air Base


00070408 When shot/hit, assign function 0408 - Secretary
008400 Set action block variable to value 0
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
000000 Go to next 00
000202 Label 02
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000200 Label 00
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
009364 Set actor's view distance (how far they can see) to 100
003d0066 If shot near actor goto 66
003e0066 If someone killed in sight of actor goto 66
00930e Set actor's view distance (how far they can see) to 14
008e630166 If actor's alertness > 99 goto 66
003502 If $player in sight goto 02
003967 If alarm is activated, store current actor in a variable somewhere then goto 67
000100 Go to first 00
000202 Label 02
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
000202 Label 02
00a3000010000107 If flag #13 (disguise worn) is true goto 07
000266 Label 66
00d304 Turn off sound in channel 4
0003 Yield
000202 Label 02
00cdf60e2081620406 Display text and play a sound in channel 4 for player:
Oh, my God!
000267 Label 67
013164 For all actors in the same group, set their alertness to 100
00b6 Reset and start cycle counter
000b002e000000c11810fd02 Actor $self does animation 002e (arms up, surrender)
000206 Label 06
0003 Yield
00324f If actor has stopped moving goto 4f
000106 Go to first 06
00024f Label 4f
00a100000800 Set flag #12 (Objective failed: Obtain disguise and enter base)
000b0229ffffffff100afd02 Actor $self does animation 0229 (head down praying/clutching chest)
00020f Label 0f
0003 Yield
003231 If actor has stopped moving goto 31
00010f Go to first 0f
000231 Label 31
00a3000020000131 If flag #14 (Objective failed: Obtain disguise and enter base) is true goto 31
000077 Go to next 77
000231 Label 31
00014f Go to first 4f
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000207 Label 07
00880232 If action block variable < 2 goto 32
000002 Go to next 02
000232 Label 32
00cdf60e1d81610406 Display text and play a sound in channel 4 for player:
Good afternoon.
000b0231000000c11810fd02 Actor $self does animation 0231 (left arm up then down)
00b6 Reset and start cycle counter
008402 Set action block variable to value 2
000208 Label 08
0003 Yield
003d0068 If shot near actor goto 68
008e630168 If actor's alertness > 99 goto 68
00bd00003c02 If cycle counter > 60 (1.0 secs) goto 02
003f31 If $player is in line of sight goto 31
000100 Go to first 00
000231 Label 31
000108 Go to first 08
000202 Label 02
0060f6000c If player player has weapon Nothing equipped goto 0c
0060f6010c If player player has weapon Unarmed equipped goto 0c
0060f6320c If player player has weapon Horizon Scanner equipped goto 0c
0060f64d0c If player player has weapon Suitcase equipped goto 0c
00880332 If action block variable < 3 goto 32
000002 Go to next 02
000232 Label 32
00cdf60e1f12730406 Display text and play a sound in channel 4 for player:
You'll have to check that weapon in here.
00b6 Reset and start cycle counter
000b0232000000c11810fd02 Actor $self does animation 0232 (talking with right arm forward)
008403 Set action block variable to value 3
000209 Label 09
0003 Yield
003d0068 If shot near actor goto 68
008e630168 If actor's alertness > 99 goto 68
00bd00019002 If cycle counter > 400 (6.7 secs) goto 02
003f31 If $player is in line of sight goto 31
000100 Go to first 00
000231 Label 31
000109 Go to first 09
000202 Label 02
0060f60031 If player player has weapon Nothing equipped goto 31
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
00880432 If action block variable < 4 goto 32
000002 Go to next 02
000232 Label 32
00cdf60e2112740406 Display text and play a sound in channel 4 for player:
Weapons are not allowed in the base.
00b6 Reset and start cycle counter
000b0233000000c11810fd02 Actor $self does animation 0233 (move right arm, head up and down)
008404 Set action block variable to value 4
00020a Label 0a
0003 Yield
003d0068 If shot near actor goto 68
008e630168 If actor's alertness > 99 goto 68
00bd0001900c If cycle counter > 400 (6.7 secs) goto 0c
003f31 If $player is in line of sight goto 31
000100 Go to first 00
000231 Label 31
00010a Go to first 0a
00020c Label 0c
00b6 Reset and start cycle counter
00020d Label 0d
0003 Yield
00bd00005a31 If cycle counter > 90 (1.5 secs) goto 31
00010d Go to first 0d
000231 Label 31
0060f60031 If player player has weapon Nothing equipped goto 31
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
000277 Label 77
00cdf60e2212760406 Display text and play a sound in channel 4 for player:
Right, I'm calling security.
00a100002000 Set flag #14 (Objective failed: Obtain disguise and enter base)
0028 Activate alarm
00b6 Reset and start cycle counter
000b002e000000c11810fd02 Actor $self does animation 002e (arms up, surrender)
00020b Label 0b
0003 Yield
00bd0000b402 If cycle counter > 180 (3.0 secs) goto 02
00010b Go to first 0b
000202 Label 02
00014f Go to first 4f
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000231 Label 31
00cdf60e1e12720406 Display text and play a sound in channel 4 for player:
OK, you know the way from here.
000b0232000000c11810fd02 Actor $self does animation 0232 (talking with right arm forward)
00711802 Unlock door 18 (inner door) with value 2
00020e Label 0e
0003 Yield
003d0068 If shot near actor goto 68
003e0068 If someone killed in sight of actor goto 68
008e630168 If actor's alertness > 99 goto 68
00010e Go to first 0e
000202 Label 02
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000268 Label 68
000166 Go to first 66
0004 End of function

Invocations

Comments

There are no comments yet for this function.