Napisano dnia: 2011-11-27 12:11:11
Tak więc zrobiłem kiedyś las i dźwięk ćwierkania ptaków kiedy się w nim przebywa . Nie mogę zrobić żeby po wyjściu z lasu już nie było tego dźwięku. Jak to zrobić?
Kod:
//-------------MAIN---------------
thread 'LAS'
:LAS_11
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @LAS_11
wait 0
if
$ONMISSION == 0
else_jump @LAS_11
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @LAS_11
if
00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 1300.0 1000.0 8.0 radius 500.0 500.0 100.0
else_jump @LAS_11
fade 1 1000
wait 2000
Audiostream.Load(0@, "CLEO\AUDIO\LAS.MP3")
Audiostream.PerformAction(0@, PLAY)
else_jump @LAS_236
jump @LAS_11
:LAS_236
wait 0
if
80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere 1300.0 1000.0 8.0 radius 500.0 500.0 100.0
wait 0
Audiostream.PerformAction(0@, STOP)
jump @LAS_11
thread 'LAS'
:LAS_11
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @LAS_11
wait 0
if
$ONMISSION == 0
else_jump @LAS_11
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @LAS_11
if
00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 1300.0 1000.0 8.0 radius 500.0 500.0 100.0
else_jump @LAS_11
fade 1 1000
wait 2000
Audiostream.Load(0@, "CLEO\AUDIO\LAS.MP3")
Audiostream.PerformAction(0@, PLAY)
else_jump @LAS_236
jump @LAS_11
:LAS_236
wait 0
if
80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere 1300.0 1000.0 8.0 radius 500.0 500.0 100.0
wait 0
Audiostream.PerformAction(0@, STOP)
jump @LAS_11