License from €75 Log in
DE EN FR ES IT CZ

Character align is ignored inside a skipped cutscene

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 12 years ago
    If I align characters inside a cutscene and I skip the cutscene with ESC, then the characters are not aligned after skipping. I thought skipping a cutscene means "call all commands but reduce the time to zero for all time dependent actions and screen outputs".
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 12 years ago
    I think it was mentioned ages back that certain things are ignored inside of cutscene action blocks. For instance if you call a called by other action or execute a script etc. Although I'm not 100% sure on this as it was mentioned a long time back & my memory is a little fuzzy on the matter.
  4. · 12 years ago
    skipping a cutscene is like running the action fast-forward. characters are aligned and also other called actions are executed. started animations in a skipped cutscene are not executed as they are usually not relevant for the state of the game. Also actions inside an animation (e.g. on specific animation frame) are not executed since it is not possible to execute them with the right state (and animation frames could be skipped).

    maybe you're calling another action which is executed immediately in a skipped cutscene. If the cutscene is not skipped the action will be executed after the first action stops/pauses (necessary due to backward compatibility).
  5. · 12 years ago
    Very couriois. This align thing is the last action inside my Start/End cutscene. Sometimes it works, sometimes it don't work. I will try to add a little pause before I end the cutscene...

    align character
    pause some ms
    end cutscene


    PS: You should inform the users to be careful with the "Character walk to" command inside a cutscene. The target coordinates must be valid! If the target coordinates outside the walkable area the character leaves the walkable area while breaking the cutscene. There seems no "border check" when you skip the cutscene.

    Would be nice to have an option like "[x] User can't break this cutscene" at the "begin cutscene" action part for sensible things (or for non-cutscene-situations in which a cutscene block is the only possibility to generate pauses between texts or something).

    I use the cutscene block very often because this is the only way to generate a pause between two spoken texts. A perfect timing/pausing in dialogues is very much worth in films and computergames like adventures. It would also be nice to have an inline code like {p=300ms} that could be placed inside a text block to force a small pause after the spoken text.
  6. · 12 years ago
    You can do that. It's possible to prevent the escape from registering with the new keyboard event handler / listener.

    function keyboardHandler(eventType, character, keycode, modifiers)
     if Conditions["esc_active"].ConditionValue == false and keycode == eKeyEscape then return true end
     return false
    end
     
    registerEventHandler("keyEvent", "keyboardHandler")	
    

    ...if condition esc_active is false then escape is disabled. It's simply a matter of toggling the condition to activate & deactivate the escape key. This will allow you to prevent skipping of cutscenes or certain parts of it, or whatever you want. I think movies will still be skipped with esc regardless, though.
  7. · 12 years ago
    Thanks

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?