Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
hi...can someone point me to info on an example of returning a value with a function....I found how to pass a function a value but how does you use the value returned by a function?
Action: Function:Set return value
Develop games in your browser. Powerful, performant & highly capable.
thanks!...but when I create a function with local variable inside of it, why wont it let me select one of those local variables as a return value?
<img src="http://bht.hostingsiteforfree.com/samples/LclFncVar.png" border="0" />
easier would be (using blackhornet's example)
set text to function.call("MyFnc")
combines the two lines into one