Skip to content

turnend_flow

mzki edited this page Jul 15, 2019 · 1 revision
graph TB
    %% -- Common Template --

    %% nodes
    start(("Start"))
    next_scene_from_common(("Next scene"))
    scene_start_common["goto: scene_start_common()"]

    %% styles
    classDef class_script_call fill:#CAF
    classDef class_routine_call fill:#EE9
 
    %% apply styles
        class scene_start_common class_routine_call

    %% flow
    start --> scene_start_common
    scene_start_common --> |next scene| next_scene_from_common

    %% -- scene specific --

    %% nodes
    next_scene(("Next scene"))
    autosave_scene(("AutoSave scene"))
    
    next_scene_exist{"next scene?"}

    %% apply styles
    %% class nodes class_script_call

    %% flows
    scene_start_common --> |continue current scene| next_scene_exist

    next_scene_exist --> |exist| next_scene
    next_scene_exist --> |NOT exist| autosave_scene

Loading
Clone this wiki locally