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
Action: Kick Peer
(This action have an optional "Kick Reason" box)
My problem: I don't know where this "Kick reason" message is stored since there is no "Kick Reason" expression and "Leave Reason" and "Message" seems to not retrieve the kick reason.
Neither the manual or the examples teaches how to retrieve this information.
Thanks in advance.
Develop games in your browser. Powerful, performant & highly capable.
Nevermind, just found the solution.
I just have to use the condition "On Peer Disconnected" to retrieve the kick reason with Multiplayer.leavereason.
I was using the condition "On Kicked". That was the problem.
This thread can be closed.