FutureProg functions
cloneoutfit
Outfit cloneoutfit(Outfit outfit, Character character, Text name)
Contexts: 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.
outfit: The outfit that you want to clone
character: The character who should get the outfit
name: The name of the new cloned outfit
Contexts: 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.
outfit: The outfit that you want to clone
character: The character who should get the outfit
name: The name of the new cloned outfit