9

Script Test 229
number between -1.0 and 1.0, a nd then adds the
result to the Test Value setting. For example, if Test
Va lue=10 and Variation=5, then the tested value
for each particle would be between 5 and 15.
Scale group
ThesesettingsareavailablewhenTypeissetto
Scale.
Test ValueThe specific scaling fac tor to test for.
Default=100%.
Variation—Theamountbywhichthevaluetested
for can vary randomly. Default=0.0%.
To obtain the actual test value for each particle, the
system multiplies t he Variation value by a random
number between -1.0 and 1.0, a nd 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 be b etween 90% and
110%.
Te st Value O ffset Keying group
Sync B y—Choosethetimeframetousewhen
animating Test Va lue and Variation:
Absolute T ime—Any keys set for p ar ameters are
applied at the actual frames 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 Dura tion—Any keys set for parameters
are applied to each particle starting when it first
enters the event.
Uniqueness group
The Uniqueness setting 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–125) >ClickScriptTestinanevent
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 scr ipt 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 Particle View dialog.
Edit Script—Clickthisbuttontoopenthecurrent
script in a MAXScript Editor w indow.
For detailed information about the MAXScript
utility, open the MAXScript Reference, available
from Help menu > MAXScript Reference.
Uniqueness group
The Uniqueness setting provides a randomization
seed that the s cript can use or ig nore.
Seed—Specifies a randomization value.
New—Calculates a new seed using a randomization
formula.