minetest.rollback_get_last_node_actor - Uberi/MineTest-API GitHub Wiki

minetest.rollback_get_last_node_actor

Description

Find who has done something to a node, or near a node

Returns actor, p, seconds

actor: "player:", also "liquid".

Syntax

[string](../type/string.html), [position](../type/position.html), [integer](../type/integer.html) rollback_get_last_node_actor([position](../type/position.html) pos, [integer](../type/integer.html) range, [integer](../type/integer.html) seconds)

Examples

print(minetest.rollback_get_last_node_actor({x=0, y=0, z=0}, 100, 60) .. "was the last one to modify the origin node.")
⚠️ **GitHub.com Fallback** ⚠️