Does PARCEL_MEDIA_STOP and/or PARCEL_MEDIA_TIME work?

Creating scripts
Post Reply
User avatar
Dale Innis
Posts: 41
Joined: Thu Mar 13, 2014 1:59 am
Has thanked: 84 times
Been thanked: 49 times

Does PARCEL_MEDIA_STOP and/or PARCEL_MEDIA_TIME work?

Post by Dale Innis »

I'm trying to make an object that will rewind the parcel media to the beginning and start it playing, and so far can't seem to make it work. The parcel media in question isn't looped, and the script will start it playing if it isn't currently, but if it is playing I can't seem to stop or rewind it. Before I start looking for something else I'm doing wrong, I thought I'd check to make sure the verbs are actually supported! :)

Should these both rewind the parcel media to the start and then play it (again)?

llParcelMediaCommandList([PARCEL_MEDIA_STOP, PARCEL_MEDIA_PLAY);

llParcelMediaCommandList([PARCEL_MEDIA_TIME, 0.0, PARCEL_MEDIA_PLAY);

Thanks much for any ideas!
Post Reply