Galaxy API Preview

The Galaxy API Documentation is growing. Here is a quick recap of useful functions.

Arrays and Structs

The Galaxy language features arrays and struct in order to group data together. Those two quick guides will tell you the strengths and the weakness of the galaxy implementation.

Wait

In order to make a function that runs every X seconds, you can use Wait inside a while (1). In order not to block the execution of the rest of the script, the pause is being handled with a thread.

StringToText

Your maps are going to get colorful thanks to the StringToText function. You can change the color and the size of the text. It is also possible to add images inside the text.

Colored Text

0

Comments

Posts Quoted:
Reply
Clear All Quotes