If I gave him Rangers, I could logically make his buildings spawn Rangers when they blow up.
Originally Posted by: UTD^Force
I hope that I might be helpful posting this :)
I just wanted to ask, did you add the rangers to Fai so when one of his buildings is destroyed the rangers will come out of that building?
If so, you can make minigunners come out of it like this:
Show Spoiler
;The OCL:
ObjectCreationList Infa_OCL_ChinaInfantryBarracks
CreateObject
ObjectNames = Infa_ChinaInfantryMiniGunner
IgnorePrimaryObstacle = Yes
Disposition = SEND_IT_OUT
DispositionIntensity = 4
Count = ;choose your number
RequiresLivePlayer = Yes
End
End
;The behaviour/behavior:
Behavior = CreateObjectDie ModuleTag_09
CreationList = Infa_OCL_ChinaInfantryBarracks
ExemptStatus = UNDER_CONSTRUCTION
End
Add the behaviour/behavior to the building you want the soldiers to come out from. And if you want it for another building (another number of soldiers) copy the code and just change the ObjectCreationList's name in the behavior/behaviour and add the new OCL to ObjectCreationList.ini file.
Hoping that I was helpful 🙂 :D
**Code not tested yet (I've always wanted to say this) xDDDDDDDDDDD
Gameanater wrote: