We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bb7d3a commit 217f3a4Copy full SHA for 217f3a4
doc/lua_api.txt
@@ -5778,7 +5778,10 @@ This is basically a reference to a C++ `ServerActiveObject`
5778
5779
#### Lua entity only (no-op for other objects)
5780
5781
-* `remove()`: remove object (after returning from Lua)
+* `remove()`: remove object
5782
+ * The object is removed after returning from Lua. However the `ObjectRef`
5783
+ itself instantly becomes unusable with all further method calls having
5784
+ no effect and returning `nil`.
5785
* `set_velocity(vel)`
5786
* `vel` is a vector, e.g. `{x=0.0, y=2.3, z=1.0}`
5787
* `add_velocity(vel)`
0 commit comments