You are not logged in.

1

Saturday, November 21st 2020, 1:45pm

Is there a way to prevent a navigation to another hotspot?

Example:
Let's say I'm making a game where I want that the player has access only to 3 scenes instead of all 4.
Then when he solves the riddle in the first 3 scenes, I want to grant access to the 4th one.

To accomplish this I need to prevent him to navigate to scene 4 until he solved the riddle.
How can I do this? (dinamically from javascript)
I use the Everpano navigator, I don't know if this changes things.

Thanks in advance