CLEO The fire on the machine from damage

Когда загорается машина, то начинают гореть и колёса, CLEO скрипт.

thread 'CAR' 

:CAR_11
wait 0
if
Player.Defined($PLAYER_CHAR)
jf @CAR_11
wait 0
if
Actor.Driving($PLAYER_ACTOR)
jf @CAR_11
064E: stop_particle 2@
064E: stop_particle 3@
064E: stop_particle 4@
064E: stop_particle 5@
0650: destroy_particle 2@
0650: destroy_particle 3@
0650: destroy_particle 4@
0650: destroy_particle 5@
wait 0
if and
84A7: not actor $PLAYER_ACTOR driving_boat
84A9: not actor $PLAYER_ACTOR driving_heli
847A: not actor $PLAYER_ACTOR driving_bike
not Actor.DrivingPlane($PLAYER_ACTOR)
jf @CAR_11
wait 0
if
Actor.Driving($PLAYER_ACTOR)
jf @CAR_11
10@ = Actor.CurrentCar($PLAYER_ACTOR)

:CAR_154
wait 0
if
Actor.Driving($PLAYER_ACTOR)
jf @CAR_509
wait 0
if
8185: not car 10@ health >= 250
jf @CAR_11
wait 0
jump @CAR_208

:CAR_208
066B: 2@ = attach_particle "FIRE" to_car 10@ with_offset -1.16 -2.0 -0.25 type 1
064C: make_particle 2@ visible
wait 0
066B: 3@ = attach_particle "FIRE" to_car 10@ with_offset 1.16 -2.0 -0.25 type 1
064C: make_particle 3@ visible
wait 0
066B: 4@ = attach_particle "OVERHEAT_CAR" to_car 10@ with_offset -1.16 -2.0 -0.25 type 1
064C: make_particle 4@ visible
wait 0
066B: 5@ = attach_particle "OVERHEAT_CAR" to_car 10@ with_offset 1.16 -2.0 -0.25 type 1
064C: make_particle 5@ visible
wait 0
if
8185: not car 10@ health >= 250
jf @CAR_11
wait 0
jump @CAR_414

:CAR_414
wait 0
if
8185: not car 10@ health >= 250
jf @CAR_11
wait 0
if
Car.Wrecked(10@)
jf @CAR_414
064E: stop_particle 2@
064E: stop_particle 3@
064E: stop_particle 4@
064E: stop_particle 5@
0650: destroy_particle 2@
0650: destroy_particle 3@
0650: destroy_particle 4@
0650: destroy_particle 5@
Car.RemoveReferences(10@)
jump @CAR_11

:CAR_509
wait 0
if
not Actor.Driving($PLAYER_ACTOR)
jf @CAR_154
wait 0
if
8185: not car 10@ health >= 250
jf @CAR_509
wait 0
jump @CAR_563

:CAR_563
066B: 2@ = attach_particle "FIRE" to_car 10@ with_offset -1.16 -2.0 -0.25 type 1
064C: make_particle 2@ visible
wait 0
066B: 3@ = attach_particle "FIRE" to_car 10@ with_offset 1.16 -2.0 -0.25 type 1
064C: make_particle 3@ visible
wait 0
066B: 4@ = attach_particle "OVERHEAT_CAR" to_car 10@ with_offset -1.16 -2.0 -0.25 type 1
064C: make_particle 4@ visible
wait 0
066B: 5@ = attach_particle "OVERHEAT_CAR" to_car 10@ with_offset 1.16 -2.0 -0.25 type 1
064C: make_particle 5@ visible
wait 0
if
8185: not car 10@ health >= 250
jf @CAR_11

:CAR_758
wait 0
if
8185: not car 10@ health >= 250
jf @CAR_11
wait 0
if
Car.Wrecked(10@)
jf @CAR_758
064E: stop_particle 2@
064E: stop_particle 3@
064E: stop_particle 4@
064E: stop_particle 5@
0650: destroy_particle 2@
0650: destroy_particle 3@
0650: destroy_particle 4@
0650: destroy_particle 5@
Car.RemoveReferences(10@)
jump @CAR_11



Просмотров: 1333
7.11.2013, 22:23 -

Категория: Grand Theft Auto: San Andreas » Скрипты для Grand Theft Auto: San Andreas » CLEO скрипты для Grand Theft Auto: San Andreas

Коментарии к CLEO The fire on the machine from damage: