1364 Display an event text in the upper part of the screen with the specified RGBA [LuaAPI#Color color] and caption group. Although an RBGA color is used, Hedgewars does not actually support transparent or semi-transparent captions, so the fourth byte is ignored. We recommend you to always specify a full opacity (`FF` in hexadecimal) for the caption. |
1364 Display an event text in the upper part of the screen with the specified RGBA [LuaAPI#Color color] and caption group. Although an RBGA color is used, Hedgewars does not actually support transparent or semi-transparent captions, so the fourth byte is ignored. We recommend you to always specify a full opacity (`FF` in hexadecimal) for the caption. |
1365 |
1365 |
1366 || *`captiongroup`* || *Meaning* || |
1366 || *`captiongroup`* || *Meaning* || |
1367 || `capgrpGameState` || Used for important global game events, like Sudden Death || |
1367 || `capgrpGameState` || Used for important global game events, like Sudden Death || |
1368 || `capgrpAmmoinfo` || Used for new weapon crates and some other events || |
1368 || `capgrpAmmoinfo` || Used for new weapon crates and some other events || |
1369 || `capgrpVolume` || Used when adjusting volume || |
1369 || `capgrpVolume` || Used for “local” changes of client settings that don't affect gameplay, like volume change, auto camera on/off, etc. || |
1370 || `capgrpMessage` || Generic message || |
1370 || `capgrpMessage` || Generic message || |
1371 || `capgrpMessage2` || Generic message || |
1371 || `capgrpMessage2` || Generic message || |
1372 || `capgrpAmmostate` || Used to show information about weapon state, i.e. bounce level, timer, remaining shots, etc. || |
1372 || `capgrpAmmostate` || Used to show information about weapon state, i.e. bounce level, timer, remaining shots, etc. || |
1373 |
1373 |
1374 Example: |
1374 Example: |