User Tools

Site Tools


ixe:irpl:variables:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ixe:irpl:variables:start [2025/01/07 16:18] – Fix truncation Karsten75ixe:irpl:variables:start [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
  
-<nspages -textPages="Commands available are:" -exclude:start -exclude:sidebar -simpleList -nbCol=1+<nspages -textPages="Commands available are:" -h1 -exclude:start -exclude:sidebar -simpleList -nbCol=2 
 + 
 +==== Global Variables ==== 
 + 
 +<-* ->* -?* –* <-!* ->!* -?!* –!* 
 + 
 +Description 
 + 
 +All of the variable commands can also be used followed by the ''*'' (asterisk) symbol in order to access global variables instead. Global variables do not belong to one single script, reading or writing to a global variable will modify the same exact value from any script. 
 + 
 +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. 
ixe/irpl/variables/start.1736266738.txt.gz · Last modified: 2025/02/14 14:56 (external edit)