FutureProg functions

tolocation

Lookupcomputer function, computer program, standard futureprog

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
ParameterTypeDescription
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.
ParameterTypeDescription
name Text The numeric room ID, exact unique name, legacy display name or @N target to look up