I have added a Typhoon airplane to BoB. And I got it working with Ai and in singleplayer.
The thing is, that the plane is there when the map starts. But it will not respawn after being destroyed.
objectspawntemplates:
Code: Select all
rem -----------------------------------------
rem --- TyphoonSpawner ---
rem -----------------------------------------
ObjectTemplate.create ObjectSpawner Typhoon
ObjectTemplate.setObjectTemplate 2 typhoon
ObjectTemplate.setObjectTemplate 1 typhoon
ObjectTemplate.MinSpawnDelay 10
ObjectTemplate.MaxSpawnDelay 15
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 30
ObjectTemplate.Distance 20
ObjectTemplate.Radius 20
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.MaxNrOfObjectSpawned 2
Code: Select all
rem --- Typhoon ---
Object.create Typhoon
Object.absolutePosition 1644.26/107.743/1686.8
Object.rotation 180.0/0.0/0.0
Object.setTeam 2