diff --git a/constants.rst b/constants.rst index 29eaa25..1a406ab 100644 --- a/constants.rst +++ b/constants.rst @@ -51,7 +51,7 @@ et.CS_INTERMISSION_START_TIME 36 et.CS_ENDGAME_STATS 37 et.CS_CHARGETIMES 38 et.CS_FILTERCAMS 39 -et.CS_LEGACYINFO 40 +et.CS_MODINFO 40 et.CS_SVCVAR 41 et.CS_CONFIGNAME 42 et.CS_TEAMRESTRICTIONS 43 diff --git a/database.rst b/database.rst index b6ffc36..1c4b167 100644 --- a/database.rst +++ b/database.rst @@ -73,9 +73,9 @@ If desired, Lua scripts can also connect to the engine memory database by the fo conn = assert(env:connect("file::memory:?cache=shared")) -.. Note:: The database is only active when the `db_mode `_ cvar is set. +.. Note:: The database is only active when the *db_mode* cvar is set. -To save this in memory database to disk use the **saveDB** console command. See also the `db_url `_ cvar to specify the database path. +To save this in memory database to disk use the **saveDB** console command. See also the *db_url* cvar to specify the database path. Connection objects diff --git a/fields.rst b/fields.rst index 07f8394..83310d1 100644 --- a/fields.rst +++ b/fields.rst @@ -289,7 +289,7 @@ vec3 ---- A vec3_t is a 3-element array of numbers, usually used to store and process coordinates in 3D space. -Similarly, in Legacy a vector is an array (table indexed by integers) containing 3 numbers. It can be accessed by:: +Similarly, a vector is an array (table indexed by integers) containing 3 numbers. It can be accessed by:: origin = et.gentity_get(entNum, "r.currentOrigin") --a vec3 value x, y, z = origin[1], origin[2], origin[3] diff --git a/sample.rst b/sample.rst index 064654a..3ec9a44 100644 --- a/sample.rst +++ b/sample.rst @@ -2,7 +2,7 @@ Sample code =========== -.. tip:: If you want to see some ET-specific Lua examples, you can check the `ET Legacy Lua scripts `_ repository. +.. tip:: If you want to see some specific Lua examples, you can check the `Lua scripts `_ repository. General