AutoPlay at startup of project

#1

Hi,

Any way to let the project start playing automatically as soon as I launch my project?

Thanks

#2

Hello Owson,

Sure it is.

Usually this is done with Lightact Manager (you need a Pro license for it), but you can also make it work by using Set Playback State node as shown below.

image

Hope this helps,
Mitja

1 Like
#3

Thanks meetya.
May I know,

What is the different between “on layer begin”, “run” and “on layer end”?

What situation do we use these nodes?

Does the layer begin and end only last for 1 frame?

Can I use the layer begin and end to playback my separate videos of transition in and out simultaneously ?

Does lightact have some kind of the nodes similar to ue4 “event dispactcher”, or c++ delegate? It’s function mainly just let us trigger another event straight away when current event ends…

Thanks.

#4

Hello Owson,

You are right, On Layer Begin and On Layer End nodes execute only once at the beginning and end of the layer respectively. These 2 nodes execute once even if you jump to the middle of the layer as shown below:

Run node executes every frame as long as the layer is active.

As to your other question, we don’t have a ‘custom event’ nodes yet, although that is in our backlog for some time now. However, there are probably lots of other ways you can achieve this behaviour. One option might be to have an Integer variable which tells you in which stage the show is in. Then you’d use Integer Switch Case node to switch between various node chains depending on this variable.

I hope this helps,
Mitja

1 Like