How do I call function with parameters?

Get help using Construct 2

Post » Fri Mar 17, 2017 4:40 pm

Hi, I want to call a function to get string from a number passed as parameter to set a variable, like:

set "variable" to "function.Call("get_string"(parameter))

but this is not allowed, how can I do this?
B
6
S
2
Posts: 61
Reputation: 1,099

Post » Fri Mar 17, 2017 4:46 pm

function.Call("get_string", parameter)
ImageImageImage
B
71
S
22
G
248
Posts: 3,758
Reputation: 138,067

Post » Fri Mar 17, 2017 4:47 pm

blackhornet wrote:function.Call("get_string", parameter)



thank you! :) :)
B
6
S
2
Posts: 61
Reputation: 1,099


Return to How do I....?

Who is online

Users browsing this forum: newt and 18 guests