• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by PwC-CZ · Jul 11 at 02:17 PM · scripting beginnertoolsplaymakerstate machine

BOLT FlowStateMachine for entire scene?

Hello,


I am starting visual scripting with BOLT (1.4.4). I would like to have "global" Flow State Machine for entire scene, so I created a null object, added component "FlowGraph" and created 4 states (so far transitioning by time delays).


Within those states, I would like to control attributes of multiple objects (e.g. switching visibility of different light objects).


The question is: How can I access different objects (and their parameters) within FlowGraph window? (e.g. for "On enter state" switching "DirectionalLight1" visibility to "false").


Looking forward to Your solutions,

Martin

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by I_Am_Err00r · Jul 11 at 02:29 PM

I have Bolt, and use it more to test or prototype and then hardcode.

I think you can actually just drag an object prefab into the editor window and it will drop the reference to that game object; this usually only works with objects in the actual scene of course; from there when you click on the object you have access to all the components with that object first, and it's like clicking through an explorer menu in Windows to access the object's component's variables.

However, Bolt does not have an intuitive events system, and unless the events where based on start, update, while loops, for loops, and on trigger/collision enters and exits, I have not had any luck generating custom events through Bolt and maybe there are videos or better documentation available now, but when I first started learning it about a year ago now, there wasn't much out.

I'm at work now, so my filters don't let me access this website, but here is the documentation on it here: https://support.ludiq.io/forums/5-bolt/topics/251-custom-event-definitions

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

115 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Making a fighter respond to being attacked 1 Answer

Uniscite background color 1 Answer

Help with RTS style controlls. 1 Answer

launch mobile games Unity 4.6 need unity pro IOS and Android? And Unity Android or IOS needs some library´s to work? 1 Answer

Why does GIZMO Compass not seem to be 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges