Sorry, we don't support your browser.  Install a modern browser

Ping do not select objects if you are not the host#3123

Hi,
For a game I need to get pinged objects but it only works for the host, even the highlight of the object when you ping it don’t work.
for the test i made a new game with the only code the onPlayerPing exemple in the scripting api tuto:

function onPlayerPing(player, position, object)
if object then
print(player.color .. “ pinged “ .. object.getName() .. “ at “ .. position:string())
else
print(player.color .. “ pinged “ .. position:string())
end
end

But it only printed the object if the host pings

thanks

a day ago