View Single Post
  #6  
Old 01-15-2009, 09:30 PM
Matt Matt is offline
iZone Administrator
Matt's Avatar
Join Date: Apr 2005
Location: United States
Posts: 2,690
Matt is a jewel in the roughMatt is a jewel in the rough
The script is 'trying' to read a 'video' that's why. It will only read audio extensions such as .wav .mp3 ect. From my understanding, YouTube is all videos. Maybe this will give you a better understanding (Straight out of the level editor NPC Script commands):

// file operations:
play - filename; plays a sound/music file or whatever can be played with 'Windows Media Player'
play2 - filename,x,y,volume; plays a sound/music at x,y with the specified volume (1=default volume)
playlooped - filename; plays a sound file (*.wav) looped
stopsound - filename; stops playing a sound file (*.wav)
__________________
Need Playerworld or Account support?
GraalOnline/Toonslab Support Center

Last edited by Matt; 01-15-2009 at 09:40 PM.. Reason: added file operations
Reply With Quote