FutureProg functions

loadnpc

NPCscomputer function, computer program, standard futureprog

Overload 1

loadnpc overload 1

Character loadnpc(NPCTemplate template, Location location)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads an NPC from a resolved current NPC template into a location.
ParameterTypeDescription
template NPCTemplate The resolved NPC template to load
location Location The destination location

Overload 2

loadnpc overload 2

Character loadnpc(NPCTemplate template, Location location, Text layer)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads an NPC from a resolved current NPC template into a location.
ParameterTypeDescription
template NPCTemplate The resolved NPC template to load
location Location The destination location
layer Text The layer into which to load the NPC

Overload 3

loadnpc overload 3

Character loadnpc(Number Id, Location Location)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads an NPC from a specified template into a location.
ParameterTypeDescription
Id Number The Id of the NPC template to load
Location Location The location into which they will be loaded

Overload 4

loadnpc overload 4

Character loadnpc(Number Id, Location Location, Text Layer)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads an NPC from a specified template into a location.
ParameterTypeDescription
Id Number The Id of the NPC template to load
Location Location The location into which they will be loaded
Layer Text The layer into which to load the NPC

Overload 5

loadnpc overload 5

Character loadnpc(Text UniqueName, Location Location)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads an NPC from a specified template into a location.
ParameterTypeDescription
UniqueName Text The unique name of the NPC template to load
Location Location The location into which they will be loaded

Overload 6

loadnpc overload 6

Character loadnpc(Text UniqueName, Location Location, Text Layer)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads an NPC from a specified template into a location.
ParameterTypeDescription
UniqueName Text The unique name of the NPC template to load
Location Location The location into which they will be loaded
Layer Text The layer into which to load the NPC