Hello!
I got a simple transition:
[lua]transition.to(spiderGroup, {time = 6000, x = leftMargin, onComplete = enemy.resetMe, onCompleteParams = spiderGroup})[/lua]
and on my enemy.lua I got the resetMe function:
[lua]function resetMe(params)
params.x = 300
end[/lua]
Everything working fine, however I would like to send multiple parameters to that resetMe function, for example the 300 value but I didn’t managed to do that. How does that work?
Thank you
[import]uid: 125690 topic_id: 23323 reply_id: 323323[/import]