Skip to content

Tags and local tags

Al'rind edited this page Jul 12, 2015 · 3 revisions

Tags and local tags work exactly the same as standard and local variables, excepting the fact that their identifier (variable's identifier in the case of local tags) are referenced by symbols (a word starting with :; for instance: :something, :goat, :health_points) and not with numbers.

Syntax

  • L[:symbol] : Retrieves the tag :symbol
  • L[:symbol] = 10 : Assigning 10 as value of the tag :symbol
  • SL[:symbol] : Retrieves the local tag :symbol
  • SL[id_map, id_event, :symbol] : Retrieves the local tag :symbol declared in the event :id_event located in the map id_map (complete access)
  • SL[id_map, id_event, :symbol] = 45

As of Nuki's point of view symbols are a waste but it is a feature added by Raho, blame him if you find this feature totally useless.

Clone this wiki locally