8
Script Test 225
number between -1.0 and 1.0, and then adds the
result to the Test Value setting. For example, if Test
Value=10 and Var iation=5, then the tested va lue
for each particle would be between 5 and 15.
Scale group
ThesesettingsareavailablewhenTypeissetto
Scale.
Test Value—The specific scaling factor to test for.
Default=100%.
Variation—Theamountbywhichthevaluetested
for can vary randomly. Default=0.0%.
To obtain the actual test value for each p article, the
system multiplies the Variation va lue by a random
number between -1.0 and 1.0, and then adds the
result to the Test Value setting. For example, if Test
Value=100% and Variation=10%, then the tested
value for each particle would b e b etween 90% and
110%.
Test Value Offset Keying group
Sync B y—Choosethetimeframetousewhen
animating Test Value and Variation:
•
Absolute T ime—Any keys set for parameters are
applied at the actual f rames for which they’re
set.
•
Particle Age—Any keys set for par ameters are
applied at the corresponding frames of each
particle’s existence.
•
Event Duration—Any keys set for parameters
are applied to each particle starting when it first
enters the event.
Uniqueness group
The Uniqueness sett ing enables randomization of
thetestvaluevariation.Availableonlywheneither
Variation value exceeds 0.0.
Seed—Specifies a randomization value.
New—Calculates a new seed using a randomization
formula.
Script Test
Particle View (page 2–121)
> Click Script Test in an event
or add a Script Test operator to the particle system and
then select it.
Script Test lets you test particle conditions using a
MAXScript script. The script can use any program
functionality available to MAXScript.
The default test script tests for the presence of all
particles within a spherical volume of radius 20.
Interfa ce
The user interface appears in the parameters panel,
on the right side of the P article View dialog.
Edit S cr ipt—Clickthisbuttontoopenthecurrent
script in a MAXScript Editor window.
For detailed information about the MAXScript
utility, open the MAXScript Reference, available
from Help menu > MAXScript Reference.
Uniqueness group
The Uniqueness setting provides a randomizat ion
seed that the s cript can use or ignore.
Seed—Specifies a randomization value.
New—Calculates a new seed using a randomization
formula.