This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ixe:irpl:variables:start [2024/12/30 21:55] – created Karsten75 | ixe:irpl:variables:start [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | <nspages -textPages=" | + | <nspages -textPages=" |
| + | |||
| + | ==== Global Variables ==== | ||
| + | |||
| + | <-* ->* -?* –* <-!* ->!* -?!* –!* | ||
| + | |||
| + | Description | ||
| + | |||
| + | All of the variable commands can also be used followed by the '' | ||
| + | |||
| + | Global variables belong to a map and can be accessed from within different scripts. For this reason it is recommended to stick to a unique naming convention to prevent collisions with other scripts. | ||
| + | |||
| + | Global variables may have the same names as local variables, there is no interference between them. | ||
| + | |||
| + | One example global variables may be used for is storing values which should always be the same across all units. That way it isn't necessary to send a message to each individual unit. | ||