About
News
Tutorials
Tools
Tools Guide
Scripting
Forums
Contact
maxNrOfObjectSpawned
maxNrOfObjectSpawned <int>
This property takes an integer, it sets the maximum number of objects that can be spawned. This means more then 1 object can be spawned at a time.
Example:
Three tanks will spawn from the same spot, regardless if any are destroyed yet.
ObjectTemplate.
create
ObjectSpawner
heavytankspawner
ObjectTemplate.
setObjectTemplate
2 m10
ObjectTemplate.
setObjectTemplate
1 Tiger
ObjectTemplate.
MinSpawnDelay
70
ObjectTemplate.
MaxSpawnDelay
110
ObjectTemplate.
SpawnDelayAtStart
0
ObjectTemplate.
TimeToLive
45
ObjectTemplate.
Distance
40
ObjectTemplate.
DamageWhenLost
10
ObjectTemplate.
maxNrOfObjectSpawned
3
Valid object types
ObjectSpawner