FutureProg functions
setmaterial
Boolean setmaterial(Item item, Number material)
Contexts: computer function, computer program, standard futureprog
This function sets the primary material of an item to the specified material. It returns true if this succeeds.
item: The item whose primary material you want to set
material: The ID of the material that you want to set
Boolean setmaterial(Item item, Solid material)
Contexts: computer function, computer program, standard futureprog
This function sets the primary material of an item to the specified material. It returns true if this succeeds.
item: The item whose primary material you want to set
material: The material you want to set
Boolean setmaterial(Item item, Text material)
Contexts: computer function, computer program, standard futureprog
This function sets the primary material of an item to the specified material. It returns true if this succeeds.
item: The item whose primary material you want to set
material: The name of the material that you want to set
Contexts: computer function, computer program, standard futureprog
This function sets the primary material of an item to the specified material. It returns true if this succeeds.
item: The item whose primary material you want to set
material: The ID of the material that you want to set
Boolean setmaterial(Item item, Solid material)
Contexts: computer function, computer program, standard futureprog
This function sets the primary material of an item to the specified material. It returns true if this succeeds.
item: The item whose primary material you want to set
material: The material you want to set
Boolean setmaterial(Item item, Text material)
Contexts: computer function, computer program, standard futureprog
This function sets the primary material of an item to the specified material. It returns true if this succeeds.
item: The item whose primary material you want to set
material: The name of the material that you want to set