FutureProg functions
tolocation
Overload 1
tolocation overload 1
Location tolocation(Number id)
Available in
- computer function
- computer program
- standard futureprog
Converts an ID number into the specified type, if one exists
| Parameter | Type | Description |
|---|---|---|
id |
Number |
The ID to look up |
Overload 2
tolocation overload 2
Location tolocation(Text name)
Available in
- computer function
- computer program
- standard futureprog
Resolves a room using numeric ID, exact unique name, then legacy display name matching. Use locationbyuniquename for strict key lookup.
| Parameter | Type | Description |
|---|---|---|
name |
Text |
The numeric room ID, exact unique name, legacy display name or @N target to look up |