I was told once (i believe by a scripter that worked with EB) that using scripting, new buildings and units could be made available to the player depending on a trait gained by a general. Is this true or am i just making memories up?
I was told once (i believe by a scripter that worked with EB) that using scripting, new buildings and units could be made available to the player depending on a trait gained by a general. Is this true or am i just making memories up?
Last edited by shifty157; 04-11-2006 at 23:03.
It's true. You can write a script searching for a specific trait, that places certain buildings in all cities if the trait is present. These buildings can then be used as requirements for other buildings and units.
Thanks.
Is it also possible to trigger a script when a unit/building is completed?
You can check per script if a building is completed or exist in any settlement and make it a condition for your script. For units as far as I know you can only test the number of certain units in your settlement. If you want your script becoming active the first time a unit is trained at a specific place this might work.
A complete list of all comands and triggers can be found here:
https://forums.totalwar.org/vb/showthread.php?t=54299
Bookmarks