Picture
SUPER JUICE
  • About The Game
  • About The Game Maker
  • Newsletter

Unity Tutorial: Trigger a Timeline with Bolt Visual Scripting

7/11/2021

0 Comments

 
Beginner Tutorial
Unity 19.4+, Bolt Visual Scripting 1.4.15+
* This tutorial assumes you have a basic understanding of Unity, Bolt Visual Scripting and know how to make a Timeline.
If you're not a programmer and you're just learning Unity or Bolt, everything can seem pretty daunting. This isn't one of those daunting things, though. Let me walk you through the steps.
​

​Setting things up:
1. Choose your Timeline in the Hierarchy. Then set it to
Play On Awake. Next, make the Timeline Inactive by unchecking the box at the top of the Inspector.
Picture
2. Then, attach a Collider to an object in your scene that you want to be the trigger for the timeline, and check the box that says Is Trigger.
Picture
The Bolt Visual Scripting Component:
3. Next, add the
Flow Machine component to the same object that your Collider resides in and click the New button save it as a macro into your project files.
4. Make an Object Variable and set the Type to Game Object. Drag your Timeline from the Hierarchy into the Variable's Value Field.
5. Drag that Variable you just created into the Flow Graph and use the Fuzzy Finder to add an On Trigger Enter and a Set Active Game Object (check the Boolean to True).
6. Hook all those nodes up the way you see in the picture, and that's it. Good job! Now when your player character-or-whatever runs into the collider, your timeline will trigger.
Picture

RSS Feed

0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    DevLog

    Follow along as Super Juice constructs a Strategy RPG

    Kris Chavez

    Artist, Author, Indy Game Designer, Happy Husband, Half Robot, Three Quarters Cat

    Archives

    May 2022
    April 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021

    Categories

    All
    Concept To Completion
    Game Progress
    Tutorials

    RSS Feed

copyright  Super Juice Games 2025   [email protected]
  • About The Game
  • About The Game Maker
  • Newsletter