Skip to content

function setPlayerOnFloor (client-side)

Available since version: 0.1.0

This function will try to put hero/npc on floor.
If the difference between hero/npc y position and the floor y position is less or equal 1000, the function will succeed.

Declaration

void setPlayerOnFloor(int id)

Parameters

  • int id: the player id.