FutureProg functions
setcharacteristicrandom
Overload 1
setcharacteristicrandom overload 1
Boolean setcharacteristicrandom(Character target, CharacteristicDefinition definition, Number profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets an intrinsic characteristic from a compatible profile. Returns false if no valid value can be selected.
| Parameter | Type | Description |
|---|---|---|
target |
Character |
The character or item to change. |
definition |
CharacteristicDefinition |
The resolved characteristic definition. |
profile |
Number |
The characteristic profile ID or name. |
forcenew |
Boolean |
Whether to prefer a different value. |
Overload 2
setcharacteristicrandom overload 2
Boolean setcharacteristicrandom(Character target, CharacteristicDefinition definition, Text profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets an intrinsic characteristic from a compatible profile. Returns false if no valid value can be selected.
| Parameter | Type | Description |
|---|---|---|
target |
Character |
The character or item to change. |
definition |
CharacteristicDefinition |
The resolved characteristic definition. |
profile |
Text |
The characteristic profile ID or name. |
forcenew |
Boolean |
Whether to prefer a different value. |
Overload 3
setcharacteristicrandom overload 3
Boolean setcharacteristicrandom(Character character, Number definition, Number profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose characteristics you want to randomly set |
definition |
Number |
The ID number of the characteristic definition you want to use |
profile |
Number |
The ID number of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |
Overload 4
setcharacteristicrandom overload 4
Boolean setcharacteristicrandom(Character character, Number definition, Text profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose characteristics you want to randomly set |
definition |
Number |
The ID number of the characteristic definition you want to use |
profile |
Text |
The name of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |
Overload 5
setcharacteristicrandom overload 5
Boolean setcharacteristicrandom(Character character, Text definition, Number profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose characteristics you want to randomly set |
definition |
Text |
The name of the characteristic definition you want to use |
profile |
Number |
The ID number of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |
Overload 6
setcharacteristicrandom overload 6
Boolean setcharacteristicrandom(Character character, Text definition, Text profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose characteristics you want to randomly set |
definition |
Text |
The name of the characteristic definition you want to use |
profile |
Text |
The name of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |
Overload 7
setcharacteristicrandom overload 7
Boolean setcharacteristicrandom(Item target, CharacteristicDefinition definition, Number profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets an intrinsic characteristic from a compatible profile. Returns false if no valid value can be selected.
| Parameter | Type | Description |
|---|---|---|
target |
Item |
The character or item to change. |
definition |
CharacteristicDefinition |
The resolved characteristic definition. |
profile |
Number |
The characteristic profile ID or name. |
forcenew |
Boolean |
Whether to prefer a different value. |
Overload 8
setcharacteristicrandom overload 8
Boolean setcharacteristicrandom(Item target, CharacteristicDefinition definition, Text profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets an intrinsic characteristic from a compatible profile. Returns false if no valid value can be selected.
| Parameter | Type | Description |
|---|---|---|
target |
Item |
The character or item to change. |
definition |
CharacteristicDefinition |
The resolved characteristic definition. |
profile |
Text |
The characteristic profile ID or name. |
forcenew |
Boolean |
Whether to prefer a different value. |
Overload 9
setcharacteristicrandom overload 9
Boolean setcharacteristicrandom(Item item, Number definition, Number profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item whose characteristics you want to randomly set |
definition |
Number |
The ID number of the characteristic definition you want to use |
profile |
Number |
The ID number of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |
Overload 10
setcharacteristicrandom overload 10
Boolean setcharacteristicrandom(Item item, Number definition, Text profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item whose characteristics you want to randomly set |
definition |
Number |
The ID number of the characteristic definition you want to use |
profile |
Text |
The name of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |
Overload 11
setcharacteristicrandom overload 11
Boolean setcharacteristicrandom(Item item, Text definition, Number profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item whose characteristics you want to randomly set |
definition |
Text |
The name of the characteristic definition you want to use |
profile |
Number |
The ID number of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |
Overload 12
setcharacteristicrandom overload 12
Boolean setcharacteristicrandom(Item item, Text definition, Text profile, Boolean forcenew)
Available in
- computer function
- computer program
- standard futureprog
Sets the intrinsic characteristic value for the characteristic definition on the supplied target to a random value selected from the profile you supply. Returns true if successful.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item whose characteristics you want to randomly set |
definition |
Text |
The name of the characteristic definition you want to use |
profile |
Text |
The name of the characteristic profile that you want to use to give the range of possible values |
forcenew |
Boolean |
If true, excludes the current result from the outcome. I.e. the value must change. If false or if there is only 1 value to choose from on the profile, the result may still be the old value |