Documentation: More precise description of ObjectRef:remove()

This commit is contained in:
sfan5 2020-02-12 22:24:47 +01:00
parent 2bb7d3aa99
commit 217f3a42f4
1 changed files with 4 additions and 1 deletions

View File

@ -5778,7 +5778,10 @@ This is basically a reference to a C++ `ServerActiveObject`
#### Lua entity only (no-op for other objects)
* `remove()`: remove object (after returning from Lua)
* `remove()`: remove object
* The object is removed after returning from Lua. However the `ObjectRef`
itself instantly becomes unusable with all further method calls having
no effect and returning `nil`.
* `set_velocity(vel)`
* `vel` is a vector, e.g. `{x=0.0, y=2.3, z=1.0}`
* `add_velocity(vel)`