scatter_system_brush table reference - Stingray Lua API Reference
This type of table defines the settings for new scatter brushes.
You can create tables with any or all of these members
and pass them in calls to stingray.ScatterSystem.make_brush().
|
For the SLIDE_Z method, this is the starting position of the unit when fading in.
|
A value of -2 means
that the unit starts sliding from 2 meters below its final position.
|
The method used for fading objects in and out when spawned.
|
Possible values are:
- POP: Units will pop in and out of existence.
- SLIDE_Z: Units will slide into existence along their z-axis.
- SCALE Units will scale into existence.
|
The distance in meters that the user must move for the unit to be faded in completely when a method other than POP is used.
|
|
The final value that the the unit will fade to.
|
Typically you don't have to set this, because it is
set to reasonable values by default: 0 meters for SLIDE_Z, and 1.0 for SCALE.
|
The distance from an observer at which units become visible, in meters.
|
|
The type of the unit that the brush spawns.
|
|
The distance from an observer at which the units become invisible, in meters.
|
Usually this value is slightly higher than spawn_distance
in order to prevent units from flickering on and off when the player moves. For example, spawn_distance might be 50 meters
and unspawn_distance might be 55 meters.