damageWhenLost


damageWhenLost <int>

Sets the amount of damage per second an playerControlObject takes when far away from the ObjectSpawner

Example:
In this case the object takes 10 hit points per second when the object is over 40 units away starting from a period of 45 seconds of being 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