FutureProg functions
getregister
getregister overload 1
CollectionItem getregister(CollectionItem thing, Text variable)
Available in
- computer function
- computer program
- standard futureprog
This function retrieves the 'register variable' specified for a thing that you specify. Which register variables are available are defined on a per-type basis. See the REGISTER command in game for more information. The return type is as it appears in the register command, not actually a CollectionItem.
| Parameter | Type | Description |
|---|---|---|
thing |
CollectionItem |
The thing whose register variables you want to retrieve |
variable |
Text |
The register variable that you want to get. Must be a string literal. |