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
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
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?
Develop games in your browser. Powerful, performant & highly capable.
Action: Function:Set return value
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