Jump to content

[LE3] Sound Node


Rick
 Share

Recommended Posts

http://www.leadwerks...le3-sound-node/

 

 

From what I can see, Source.Playing, Source.Stopped, Source.Paused don't work. I had to use 0 for stopped and 1 for playing instead of the constants.

 

 

Otherwise, create a pivot in your scene, attach this script, fill out the properties, and use the flowgraph to trigger your sound. When your sound is finished (loop = false) then it'll trigger an OnComplete output which you can then do whatever else you want. In my example I just played another sound after the first sound was finished.

Link to comment
Share on other sites

Great.

But i have questions :

Flowgraph is it fast or slow compared to just use Lua scripting.

By connecting Flowgraph boxes, how does it works behind the scene ? Lua code is generated ?

Could it be possible to have some :

Player Lua script we could connect to some Camera box in the Flowgraph ?

 

(I didn't have dug the flowgraph but keeped programming in Lua)

Stop toying and make games

Link to comment
Share on other sites

I don't know the details 100% on the flowgraph behind the scenes. Josh would have to answer that.

 

Could it be possible to have some :

Player Lua script we could connect to some Camera box in the Flowgraph ?

 

I have lots of things planned :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...