Share this post

Link to post

When used in ScriptTypes, the structure number takes any of several formats and is derived by finding the structure in the [BuildingTypes] list of RULES.INI and subtracting ONE from this structures' number in that list (equivalent to renumbering the list from 0) - this is the explicit number of that structure and is the number to use as the second parameter of the action. Any one of several amendments can be made to this number;-

· add 131072 to the number, so GAPOWR (number 1 in RULES.INI thus number 0 for this purpose) becomes 131072

· add 196608 to the number, so GAPOWR (number 1 in RULES.INI thus number 0 for this purpose) becomes 196608

· add 65534 to the number, so GAPOWR (number 1 in RULES.INI thus number 0 for this purpose) becomes 65534

That's from Deezire's guide. It has never been established if the other numbers mean anything. I just use the building's position in the list, which is 0-based.