Auto Spawning as well? Use the creep codes
EXAMPLE:
In the Structures code:
Behavior = SpawnBehavior ModuleTag_SpawnFighters
SpawnNumber = 8
InitialBurst = 8
SpawnTemplateName = MordorGoblinSwordsman_Slaved MordorGoblinArcher_Slaved
SpawnReplaceDelay = 60000
CanReclaimOrphans = Yes
End
In the Units code:
Behavior = SlavedUpdate ModuleTag_Slave
GuardMaxRange = 250
GuardWanderRange = 40
UseSlaverAsControlForEvaObjectSightedEvents = Yes
End
This stuff is referenced from data/ini/object/neutral/moriagoblinlair.ini and data/ini/object/evilfaction/units/mordor/mordorgoblinswordsman.ini
Happy coding
Edited by Fingulfin, 13 February 2007 - 05:54 AM.