equal
deleted
inserted
replaced
924 |
924 |
925 === <tt>!AddCaption(text)</tt> === |
925 === <tt>!AddCaption(text)</tt> === |
926 Display an event text in the upper part of the screen. The text will be white and the caption group will be `capgrpMessage`. |
926 Display an event text in the upper part of the screen. The text will be white and the caption group will be `capgrpMessage`. |
927 |
927 |
928 === <tt>!AddCaption(text, color, captiongroup)</tt> === |
928 === <tt>!AddCaption(text, color, captiongroup)</tt> === |
929 Display an event text in the upper part of the screen with the specified [LuaAPI#Color color] and caption group. |
929 Display an event text in the upper part of the screen with the specified [LuaAPI#Color color] (4 bytes, the 4th byte is for transparency) and caption group. |
930 |
930 |
931 || *`captiongroup`* || *Meaning* || |
931 || *`captiongroup`* || *Meaning* || |
932 || `capgrpGameState` || Used for important global game events, like Sudden Death || |
932 || `capgrpGameState` || Used for important global game events, like Sudden Death || |
933 || `capgrpAmmoinfo` || Used for new weapon crates and some other events || |
933 || `capgrpAmmoinfo` || Used for new weapon crates and some other events || |
934 || `capgrpVolume` || Used when adjusting volume || |
934 || `capgrpVolume` || Used when adjusting volume || |