FutureProg functions
additemtooutfit
Overload 1
additemtooutfit overload 1
OutfitItem additemtooutfit(Outfit outfit, Item item)
Available in
- computer function
- computer program
- standard futureprog
This function adds an item to an outfit through a prog. It is the equivalent of a player using the OUTFIT SET ADD command. Returns the outfititem that is added, or null if there is an error.
| Parameter | Type | Description |
|---|---|---|
outfit |
Outfit |
The outfit to add the item to |
item |
Item |
The item to add to the outfit |
Overload 2
additemtooutfit overload 2
OutfitItem additemtooutfit(Outfit outfit, Item item, Item container)
Available in
- computer function
- computer program
- standard futureprog
This function adds an item to an outfit through a prog. It is the equivalent of a player using the OUTFIT SET ADD command. Returns the outfititem that is added, or null if there is an error.
| Parameter | Type | Description |
|---|---|---|
outfit |
Outfit |
The outfit to add the item to |
item |
Item |
The item to add to the outfit |
container |
Item |
The preferred container for the item |
Overload 3
additemtooutfit overload 3
OutfitItem additemtooutfit(Outfit outfit, Item item, Item container, Text profile)
Available in
- computer function
- computer program
- standard futureprog
This function adds an item to an outfit through a prog. It is the equivalent of a player using the OUTFIT SET ADD command. Returns the outfititem that is added, or null if there is an error.
| Parameter | Type | Description |
|---|---|---|
outfit |
Outfit |
The outfit to add the item to |
item |
Item |
The item to add to the outfit |
container |
Item |
The preferred container for the item |
profile |
Text |
The preferred wear profile for the item |
Overload 4
additemtooutfit overload 4
OutfitItem additemtooutfit(Outfit outfit, Item item, Text profile)
Available in
- computer function
- computer program
- standard futureprog
This function adds an item to an outfit through a prog. It is the equivalent of a player using the OUTFIT SET ADD command. Returns the outfititem that is added, or null if there is an error.
| Parameter | Type | Description |
|---|---|---|
outfit |
Outfit |
The outfit to add the item to |
item |
Item |
The item to add to the outfit |
profile |
Text |
The preferred wear profile for the item |