--- a/LuaGameplay.wiki Wed Jun 28 22:14:36 2023 +0000
+++ b/LuaGameplay.wiki Wed Jun 28 22:16:01 2023 +0000
@@ -127,6 +127,8 @@
AddCaption(GetEngineString("TMsgStrId", sidDraw), capcolDefault, capgrpGameState)
</code>
+For engine strings that use placeholders like `%1`, you can use `formatEngineString` from the [LuaLibraryUtils `Utils` library].
+
== Ammo ==
=== <tt>!SetAmmo(ammoType, count, probability, delay, numberInCrate)</tt> ===
This updates the settings (initial ammo, crate probability, etc.) for a specified [AmmoTypes ammo type]. This must only be used in the `onAmmoStoreInit()` [LuaEvents event handler]. In other places, this function will not work.