// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'DRAGONS' 

:DRAGONS_11
wait 0 
if 
  $ONMISSION == 0 
else_jump @DRAGONS_11 
if 
   Player.Defined($PLAYER_CHAR)
else_jump @DRAGONS_11 
if 
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere -1151.0146 2025.0864 136.2472 radius 100.5 100.5 50.5 
else_jump @DRAGONS_11
Audiostream.Load(7@, "CLEO\SOUND\DRAGON.MP3")
Audiostream.PerformAction(7@, PLAY) 
023C: load_special_actor 'DRAGON3' as 8 // models 290-299
Model.Load(#GRENADE) 
060A: create_decision_maker_type 1 store_to 10@ // decision\allowed\m_.ped files 
07E5: copy_decision_maker 10@ to 11@ 
038B: load_requested_models 
1@ = Actor.Create(Mission1, #SPECIAL08, -1151.0146, 2025.0864, 136.2472)
Actor.Angle(1@) = 347.2881
Actor.Health(1@) = 10000
02AB: set_actor 1@ immunities BP 0 FP 1 EP 0 CP 0 MP 0  
0446: set_actor 1@ immune_to_headshots 1 
04D8: set_actor 1@ drowns_in_water 0 
0946: set_actor 1@ actions_uninterupted_by_weapon_fire 1
02E0:   actor 1@ aggressive   
01B2: give_actor 1@ weapon 16 ammo 999 // Load the weapon model before using this 
0245: set_actor 1@ walk_style_to "JOGGER" 
07FE: set_actor 1@ fighting_style_to 12 6 
03FE: set_actor 1@ money 10000 
05E2: AS_actor 1@ kill_actor $PLAYER_ACTOR 
066A: 3@ = attach_particle "WALLBUST" to_actor 1@ with_offset 0.0 0.0 0.0 rotation 0.0 0.01 0.0 flag 1 
064C: make_particle 3@ visible 
Model.Destroy(#SPECIAL08)
Model.Destroy(#GRENADE)
0296: unload_special_actor 8 

:DRAGONS_340
wait 500 
if or
   Actor.Dead(1@)
80FE:   not actor $PLAYER_ACTOR sphere 0 in_sphere -1151.0146 2025.0864 136.2472 radius 200.0 200.0 200.0 
else_jump @DRAGONS_340 
jump @DRAGONS_405 

:DRAGONS_405
wait 5000 
Actor.DestroyWithFade(1@)
Audiostream.PerformAction(7@, STOP)
Audiostream.Release(7@)
0650: destroy_particle 3@ 
01B7: release_weather 
0A93: end_custom_thread 
