mirror of
https://github.com/etlegacy/etlegacy-lua-docs.git
synced 2024-11-28 23:02:18 +00:00
minor cleanup
This commit is contained in:
parent
8cd17f501b
commit
ad16049ca6
2 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,7 @@ Welcome to the Legacy Lua API's documentation!
|
||||||
|
|
||||||
The **Legacy mod** is the default mod shipped with `ET: Legacy <http://www.etlegacy.com>`_. It supports server-side modifications via the `Lua <http://www.lua.org/>`_ scripting language, with the Legacy Lua API being the interface for communication between them.
|
The **Legacy mod** is the default mod shipped with `ET: Legacy <http://www.etlegacy.com>`_. It supports server-side modifications via the `Lua <http://www.lua.org/>`_ scripting language, with the Legacy Lua API being the interface for communication between them.
|
||||||
|
|
||||||
The embedded **Lua 5.3** interpreter will load user-defined scripts if present in the `Legacy` directory. The Lua API provides an "et" library of `function calls <functions.html>`__ that allow access to the server engine, and also provides `callbacks <callbacks.html>`__ so a server side mod may trigger on specific server events.
|
The embedded **Lua 5.3** interpreter will load user-defined scripts if present in the `legacy` directory. The Lua API provides an "et" library of `function calls <functions.html>`__ that allow access to the server engine, and also provides `callbacks <callbacks.html>`__ so a server side mod may trigger on specific server events.
|
||||||
|
|
||||||
In some cases values can be returned to Legacy mod, whenever something is intercepted (i.e. a command) and prevented to be further handled. This way, new commands can easily be defined or existing ones can be altered.
|
In some cases values can be returned to Legacy mod, whenever something is intercepted (i.e. a command) and prevented to be further handled. This way, new commands can easily be defined or existing ones can be altered.
|
||||||
|
|
||||||
|
|
1
misc.rst
1
misc.rst
|
@ -149,7 +149,6 @@ Send a fireteam voice chat on behalf of the specified client::
|
||||||
* **Vsay-Number** is the vsay number of Vsay as listed in the .voice files. It is by default random, but can be set by the player by passing parameters to the vsay command (`/vsay <Vsay-Number> <Vsay-String>`).
|
* **Vsay-Number** is the vsay number of Vsay as listed in the .voice files. It is by default random, but can be set by the player by passing parameters to the vsay command (`/vsay <Vsay-Number> <Vsay-String>`).
|
||||||
* The **X,Y,Z-Location**'s are optional parameters that represent the client's location.
|
* The **X,Y,Z-Location**'s are optional parameters that represent the client's location.
|
||||||
* **Custom-Message** is by default empty (\"\"). If set, it prints the message in the chat area.m contaning the message
|
* **Custom-Message** is by default empty (\"\"). If set, it prints the message in the chat area.m contaning the message
|
||||||
if VoiceOnly is 1 it will only do the sound but not the message
|
|
||||||
|
|
||||||
|
|
||||||
Fireteam
|
Fireteam
|
||||||
|
|
Loading…
Reference in a new issue