Jump to content

[Solved] Flowgraph arguments ???


Roland
 Share

Recommended Posts

I just cant get my head around how to use arguments in the FlowGraph. In and Out without arguments is no problem. But how to use the arguments. Adding a argument to the in function is easy enough

Script:myFunc( arg )--in
-- use arg
end

 

But what about the sending side with the out function.

As in the documentation below. How should the LUA script for Box3 look like.

post-395-0-39726500-1410898095_thumb.png

Roland Strålberg
Website: https://rstralberg.com

Link to comment
Share on other sites

Thanks Aggror.

In fact its said in the documentation. Can't believe I missed that rolleyes.gif

I thought I had added this to the docs a few weeks ago, but as it turns out there are 2 places that talk about the flowgraph editor.

http://www.leadwerks.com/werkspace/page/documentation/_/user-guide/object-scripts-r631

http://www.leadwerks.com/werkspace/page/documentation/_/user-guide/flowgraph-editor-r17

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...