Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
Plugin: Multiplayer
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.