Has anyone been able to get a quest result to spawn a unit or unit group? I can see how to get a quest to spawn a goodiehut, since there are examples in the corequest files. But I cannot figure out how to get a unit or unit group to spawn based on a quest result. I want to have a unit spawn if the user makes a certain choice. I assume you use the gamemodifer as with spawning goodie huts...
<GameModifier InternalName="CreateGoodieHut">
<ModType>Map</ModType>
<Attribute>CreateGoodieHut</Attribute>
<UnitClass>RatNest</UnitClass>
<StrVal>Rat Nest</StrVal>
<Radius>8</Radius>
</GameModifier>
I can get a goodiehut to spawn using the above xml if the user makes a certain choice, but I haven't been able to tweak it to make a unit spawn instead. Tried a bunch of different combinations of things such as making the modtype 'Unit' and the Attribute 'CreateUnit', etc, and could not get the gamemodifier element to do it.
A more general question/request for Stardock, any chance we can get a data dictionary for the XML schema? I'm really struggling figuring out what I can do with quests, and how to do it.