A spawner grenade (https://openxcom.org/forum/index.php/topic,6535.0.html) is a battleItem: 4 item that uses spawnUnit
You can also have different other battleItem types to spawn units. Spawner grenades can also be put on terrain with their fuse set to some value
For example (taken from 40k missions_IG.rul)
- name: PDF_DEPLOYMENT
mapDataSets:
- BLANKS
- CHIMERAUFO
mapBlocks:
- name: CHIMERAPDF
width: 20
length: 10
height: 2
items:
STR_GUARDSMAN_FEMALE_SPAWNER:
- [1, 1, 0]
- [4, 3, 0]
- [12, 1, 0]
- [16, 2, 0]
- [19, 8, 0]
- [7, 7, 0]
STR_GUARDSMAN_MALE_SPAWNER:
- [3, 3, 0]
- [6, 1, 0]
- [15, 2, 0]
- [18, 1, 0]
- [12, 8, 0]
- [0, 9, 0]
fuseTimers:
STR_GUARDSMAN_FEMALE_SPAWNER: [0, 0]
STR_GUARDSMAN_MALE_SPAWNER: [0, 0]
Will create 12 Guardsmen when this map is part of the map generation.
A spawner grenade (https://openxcom.org/forum/index.php/topic,6535.0.html) is a battleItem: 4 item that uses spawnUnit
You can also have different other battleItem types to spawn units. Spawner grenades can also be put on terrain with their fuse set to some value
For example (taken from 40k missions_IG.rul)
- name: PDF_DEPLOYMENT
mapDataSets:
- BLANKS
- CHIMERAUFO
mapBlocks:
- name: CHIMERAPDF
width: 20
length: 10
height: 2
items:
STR_GUARDSMAN_FEMALE_SPAWNER:
- [1, 1, 0]
- [4, 3, 0]
- [12, 1, 0]
- [16, 2, 0]
- [19, 8, 0]
- [7, 7, 0]
STR_GUARDSMAN_MALE_SPAWNER:
- [3, 3, 0]
- [6, 1, 0]
- [15, 2, 0]
- [18, 1, 0]
- [12, 8, 0]
- [0, 9, 0]
fuseTimers:
STR_GUARDSMAN_FEMALE_SPAWNER: [0, 0]
STR_GUARDSMAN_MALE_SPAWNER: [0, 0]
Will create 12 Guardsmen when this map is part of the map generation.
I see. Interesting.