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
I am interested, is it possible to set and get multiple return values, or it is restricted to be just one?
Function->Set return value->Function.Param(0)+Function.Param(1)
Call "calculate" (10,20)[/code:17bx5vuh]
This function calculates Sum of parameters, but is it possible to calculate several values and return it?
yes, using another if (sub event) inside "on function"
actually found a workaround, that imitates multiple returns, but how to do this with sub event ?
https://www.dropbox.com/s/4ohjbalogjsk2 ... 8.png?dl=0
Develop games in your browser. Powerful, performant & highly capable.
You can only return a single value from a function. Your workaround should be OK.