Logic color unpacking (#10794)

* `unpackcolor`

* Add description
This commit is contained in:
Redstonneur1256
2025-05-11 16:43:37 +02:00
committed by GitHub
parent d51e350d75
commit 159813a7fd
3 changed files with 54 additions and 2 deletions

View File

@@ -2488,6 +2488,7 @@ lst.explosion = Create an explosion at a location.
lst.setrate = Set processor execution speed in instructions/tick.
lst.fetch = Lookup units, cores, players or buildings by index.\nIndices start at 0 and end at their returned count.
lst.packcolor = Pack [0, 1] RGBA components into a single number for drawing or rule-setting.
lst.unpackcolor = Unpack RGBA components from a color that was packed using Pack Color.
lst.setrule = Set a game rule.
lst.flushmessage = Display a message on the screen from the text buffer.\nIf the success result variable is [accent]@wait[],\nwill wait until the previous message finishes.\nOtherwise, outputs whether displaying the message succeeded.
lst.cutscene = Manipulate the player camera.