{{javascript}}Spawner
This attribute stores the maximum number of agents that can be spawned by this spawner. No limit, if set to -1.
constraintsTimeStart is the starting time of a spawner after which agents can be spawned.
constraintsTimeEnd is the ending time of a spawner after which agents will not be spawned anymore.
Use eventPositionRandom to allow agents be spawned only on random positions.
- if true, agents are spawned only on random positions.
- if false, agents are spawned on the source origin.
Use eventPositionGridCA to allow agents be spawned only on grid positions.
- if true, agents are spawned only on grid positions.
- if false, agents are spawned on any position.
Use eventPositionFreeSpace to allow agents be spawned only on free space.
- if true, agents are spawned only on free space.
- if false, agents are spawned on any position.
eventElementCount is the number of agents that are queued for s
pawning for a single spawn event.