00063. Работа со стартерами ( MAIN.SCM - Часть 2 )
//...
$MISSION_CJ_TOTAL = 0
$MARKER_X_CJ = 2498.2966
$MARKER_Y_CJ = -1684.5094
$MARKER_Z_CJ = 12.41
$MISSION_SWIT_TOTAL = 0
$MARKER_X_SWEET = 2516.5918
$MARKER_Y_SWEET = -1674.5015
$MARKER_Z_SWEET = 12.973
//...:STARTER_CJ
thread 'STARTER_CJ'
wait 0
$MARKER_CJ = marker.CreateIconAndSphere(15, $MARKER_X_CJ, $MARKER_Y_CJ, $MARKER_Z_CJ)
:STARTER_CJ_1
wait 0
if AND
not actor.Dead($PLAYER_ACTOR)
not actor.Driving($PLAYER_ACTOR)
8A0C: not player $PLAYER_CHAR on_jetpack
8741: not actor $PLAYER_ACTOR busted
then
if
$ONMISSION == 0
then
if AND
$MISSION_CJ_TOTAL == 0
0102: actor $PLAYER_ACTOR in_sphere $MARKER_X_CJ $MARKER_Y_CJ $MARKER_Z_CJ radius 2.0 2.0 2.0 sphere 0 stopped_on_foot
then
jump @STARTER_CJ_2
end
if AND
$MISSION_CJ_TOTAL == 1
0102: actor $PLAYER_ACTOR in_sphere $MARKER_X_CJ $MARKER_Y_CJ $MARKER_Z_CJ radius 2.0 2.0 2.0 sphere 0 stopped_on_foot
then
jump @STARTER_CJ_3
end
if AND
$MISSION_CJ_TOTAL == 2
0102: actor $PLAYER_ACTOR in_sphere $MARKER_X_CJ $MARKER_Y_CJ $MARKER_Z_CJ radius 2.0 2.0 2.0 sphere 0 stopped_on_foot
then
jump @STARTER_CJ_4
end
if AND
$MISSION_CJ_TOTAL == 3
0102: actor $PLAYER_ACTOR in_sphere $MARKER_X_CJ $MARKER_Y_CJ $MARKER_Z_CJ radius 2.0 2.0 2.0 sphere 0 stopped_on_foot
then
jump @STARTER_CJ_5
end
if AND
$MISSION_CJ_TOTAL == 4
0102: actor $PLAYER_ACTOR in_sphere $MARKER_X_CJ $MARKER_Y_CJ $MARKER_Z_CJ radius 2.0 2.0 2.0 sphere 0 stopped_on_foot
then
jump @STARTER_CJ_6
end
end
end
jump @STARTER_CJ_1
:STARTER_CJ_2
wait 0
Marker.Disable($MARKER_CJ)
00BE: text_clear_all
03E6: remove_text_box
00BA: show_text_styled GXT 'MISS_01' time 1000 style 2
fade 0 1000
wait 2000
start_mission 0
end_thread
:STARTER_CJ_3
wait 0
Marker.Disable($MARKER_CJ)
00BE: text_clear_all
03E6: remove_text_box
00BA: show_text_styled GXT 'MISS_02' time 1000 style 2
fade 0 1000
wait 2000
start_mission 1
end_thread
:STARTER_CJ_4
wait 0
Marker.Disable($MARKER_CJ)
00BE: text_clear_all
03E6: remove_text_box
00BA: show_text_styled GXT 'MISS_03' time 1000 style 2
fade 0 1000
wait 2000
start_mission 2
end_thread
:STARTER_CJ_5
wait 0
Marker.Disable($MARKER_CJ)
00BE: text_clear_all
03E6: remove_text_box
00BA: show_text_styled GXT 'MISS_04' time 1000 style 2
fade 0 1000
wait 2000
start_mission 3
end_thread
:STARTER_CJ_6
wait 0
Marker.Disable($MARKER_CJ)
00BE: text_clear_all
03E6: remove_text_box
00BA: show_text_styled GXT 'MISS_05' time 1000 style 2
fade 0 1000
wait 2000
start_mission 4
end_threadLast updated