Forum rules - please read before posting.

Cursor disappearing on scene revisit

Hi,

What would cause the cursor to disappear at a later stage in the game? It happens when a cutscene is run that is in the on load and on variable check of the scene, But only happens when that cutscene is actually run later in the game.

I have even put an extra action list in the cutscene to 'enable' the cursor, in case somewhere else it is being turned off?

Any obvious ideas that come up?

Comments

  • Does it disappear if you run the Cutscene manually?  Unset it from both On load and On variable check and click "Run" in it's Inspector during gameplay.  If it's only occuring with that Cutscene, then it must be down to one of the Actions within it.  Can't say much more without knowing anything about it!
  • The cursor does not disappear if the cutscene is run manually, only from when it is run from in OnLoad and OnVariable change. 

    Do I need to include something in the cutscene to ensure the cursor script is called? As using a manage systems enable cursor within the cutscene does not help
  • I have it placed in both OnLoad and OnVariableChange to ensure it works when it should (but, the cursor disappears only in that scene from then onwards)
  • What cursor script are you referring to?  If you have something else affecting the cursor, it could be conflicting.  Disable the script and see if the Cutscene works when run.
  • The cursor manager script. I have already removed the previous script i added on a sub game scene that made the cursor disappear in the middle of the screen. So I cannot see what else could cause the cursor to disappear
  • Check List active ActionLists in Game window? at the bottom of the Settings Manager.  It could be that the game is somehow in a permanent cutscene, which would cause the cursor to hide unless you define a Cutscene cursor.  When the error occurs, what is the GameState set to in the top-left corner of the Game window?
  • So when I run the cutscene from play mode, the cursor returns, but when the cutscene runs within gameplay when the cutscene is supposed to run, the cursor does not return, but it does return in other scenes, but is still missing when i re-enter the scene where the cutscene happened.

    The Gamestate returned to normal when run in game. I will go through the game again and see what the Active list says when the cutscene is meant to be run
  • ok, so, it looks like you are correct, the gameplay is blocked when the cutscene should be run. The cutscene is in on variable change.

    See screenshot:


    How would i rectify this? Do i need to put a specific action list at the end of the cutscene?
  • I have no idea which of the two cutscenes listed is assigned as your On Variable Change.

    Open up your ActionList Editor window for the cutscene when this occurs - the currently-running Action will be highlighted in blue, so you can see where the hold-up is.
  • It is the EveryoneInRoom? cutscene that assigned in On Variable Change (the NextTaskList cutscene is run within the EveryoneInRoom? cutscene)

    And the cutscene ran through, highlighting each one green as it went through, and i looked in both cutscenes and nothing was highlighted blue

    Sorry this thread is dragging out but it's very annoying!

    thanks
  • I would prefer not to put this cutscene in the On Variable Change, but it is not recognised on start, you have to go out the scene and back in again to ensure the cutscene runs for some reason.

    But if in On Variable Change then it makes the cursor disappear (gameplay block) as discussed

    The everyoneInRoom? cutscene is as follows:


    And this is the NextTaskLists cutscene:

  • I apologise that it's causing you frustration.  I am doing what I can to help you.

    According to your EveryoneInRoom screenshot, the last Action that runs NextTasksList is disconnected from the rest - is this correct?

    If the Actions are not highlighting, it could be that there's an infinite loop - i.e. a variable is being changed in your On Variable Change Cutscene that is in turn causing it to run again.  Try inserting an addition Variable: Check Action to check that EveryoneInControlRoom is False before using Variable: Set to set it to True.  This way you can prevent the second Action from running needlessly.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.