About
News
Tutorials
Tools
Tools Guide
Scripting
Forums
Contact
distance
Distance <float>
The distance propert allows you to set a radius as a float value.
Example:
When the object is 40 units away from where it spawned, it will be considered lost.
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
Valid object types
ObjectSpawner