FutureProg functions

cloneoutfit

Outfitscomputer function, computer program, standard futureprog

cloneoutfit overload 1

Outfit cloneoutfit(Outfit outfit, Character character, Text name)
Available in
  • computer function
  • computer program
  • standard futureprog
This function takes an existing outfit and clones it to a new one. This is one way that you can copy an outfit from one player to another for example. Returns the outfit that it creates. Can return null if the name is not valid.
ParameterTypeDescription
outfit Outfit The outfit that you want to clone
character Character The character who should get the outfit
name Text The name of the new cloned outfit