CI Training


009b8000000000 Set an actor flag
00b543524541544544203400 // CREATED 4
00070407 When shot/hit, assign function 0407
0096fd012c Set $self's health to 300
0097012c Set actor's armor to 300
000204 Label 04
0003 Yield
00022f Label 2f
0034fd30 If $self has finished death animation goto 30
0033fd30 If $self is dying/dead goto 30
017bfd30 If $self's body has disappeared goto 30
016ffd0006 If $self has weapon Nothing equipped (?) goto 06
00022f Label 2f
009b0000800000 Set an actor flag
00a400000040 Set property for actor $self: 1:00000040 (unknown prop)
00070000 When shot/hit, assign function 0000 - Idle
00000a Go to next 0a
000230 Label 30
00b6 Reset and start cycle counter
00a400000010 Set property for actor $self: 1:00000010 (invincible)
000262 Label 62
0003 Yield
00bd00003c63 If cycle counter > 60 (1.0 secs) goto 63
000162 Go to first 62
000263 Label 63
00a100000080 Set flag #8 ()
00a102000000 Set flag #26 ()
00070000 When shot/hit, assign function 0000 - Idle
0005fd0000 Assign function 0000 - Idle to $self and advance frame
00020a Label 0a
00a400000040 Set property for actor $self: 1:00000040 (unknown prop)
009b0000800000 Set an actor flag
0024 Surrender
00cbf81c5a Display text in bottom left for Joanna:
Guard has been successfully disarmed.
000259 Label 59
0003 Yield
00c65eff02720408000022102f Spawn actor at pad 0272 with function 0408 then goto 2f
000159 Go to first 59
00022f Label 2f
00070000 When shot/hit, assign function 0000 - Idle
00020b Label 0b
0003 Yield
00010b Go to first 0b
000206 Label 06
0052001e2f If actor is within 30 units of $player goto 2f
00180200000008 Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 08
000208 Label 08
0003 Yield
0052001e2f If actor is within 30 units of $player goto 2f
000108 Go to first 08
00022f Label 2f
00b6 Reset and start cycle counter
01360201 Undocumented
000209 Label 09
0003 Yield
00bd00003c06 If cycle counter > 60 (1.0 secs) goto 06
000109 Go to first 09
000206 Label 06
000104 Go to first 04
0004 End of function

Invocations

  • Can be invoked by function 0406

Comments

There are no comments yet for this function.