Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

PLAY action


Function
The actions allows to play specified music file, or stop playing.
Declaration


Blok kódu
languageesl
themeConfluence
 PLAY fileToPlay, boolIdent_Bool [LOOPPLAY]
 
or
 


Blok kódu
languageesl
themeConfluence
PLAY NONE
Parameters


fileToPlayinIdentifier of the Txt type - music file to play (e.g. *.wav).
boolIdent_BooloutIdentifier of the BOOL type. Playing success.
LOOPPLAYinOptional
key word
keyword - cyclic playing.
NONEin
Key word
Keyword - stop the cyclic playing.
Example


Blok kódu
languageesl
themeRDark
BOOL _ret
 
 PLAY "hallo.wav", _ret LOOPPLAY
 IF _ret THEN
   DELAY 10[s]
   PLAY  NONE
 ENDIF

Info
titleRelated pages:

Script actions