GenEngineer
Prince
- Joined
- Aug 24, 2014
- Messages
- 456
Hey everyone. I had some questions about using dummy promotions as triggers for an LUA script. I've got the basics of the script written, but I'm unsure what the exact game events I'm looking for are and I can't find a compilation that describes them. I'm looking to have the script run when a promotion is granted, run the part I've written, and then grant another promotion to the unit. I just need to know the trigger and the 'grant promotion' step.
On a secondary note, something I've noticed in the Tech Web - if a building is coded to require 2 affinity types to build, the tooltip in the web will only list 1 of the two (the second one listed in the code). It builds correctly, but I don't know how to fix the tooltip. Thoughts?
On a secondary note, something I've noticed in the Tech Web - if a building is coded to require 2 affinity types to build, the tooltip in the web will only list 1 of the two (the second one listed in the code). It builds correctly, but I don't know how to fix the tooltip. Thoughts?