Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Story zone plays video only once

Author
Message
Gijsbrecht
13
Years of Service
User Offline
Joined: 16th Jan 2013
Location:
Posted: 16th Jan 2013 11:06
When entering a story zone, the video will play only once. How do I get the video to play each time a user enters the zone?
Pirate Myke
16
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 17th Jan 2013 05:30
try adding this to the script.



The last line will force the script to start over so the next time you are in the story zone it should fire off the video again.
Not tested.

Hope this helps

Gijsbrecht
13
Years of Service
User Offline
Joined: 16th Jan 2013
Location:
Posted: 17th Jan 2013 21:11
Thanks Pirate Myke. That sort of worked. Ik get stuck however in an infinite loop of the same video over and over, because it's impossible to leave the zone before the video restarts.

Is there a way to play an AVI in FPSC without using a storyzone? Or is there a way to activate a storyzone without actually being in it?
Gijsbrecht
13
Years of Service
User Offline
Joined: 16th Jan 2013
Location:
Posted: 17th Jan 2013 21:24
Woops never mind. Solved it by using a switch, copying the script and adding video=blahblahblah to it.
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 17th Jan 2013 23:04
There are probably several different ways to do this and I'm glad you got this working to your satisfaction.

I just wanted to revise what PM had suggested. The code in state #1 is a common mistake for zones. I did the same thing when I first used zones. Revise this code ":state=1:state=0" to

:state=1,plriwthinzone=0:state=0

and it will work like a charm.

I am sure PM is now hitting himself for this.

THEORY - you know everything but nothing works. PRACTICE - when everything works but don't know why. For me, theory and practice are combined: nothing works and I don't know why.
Pirate Myke
16
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 17th Jan 2013 23:19
with a bat. thanks for clearing that up.

Login to post a reply

Server time is: 2026-07-03 05:21:37
Your offset time is: 2026-07-03 05:21:37