DerelictStudios Forums: [ra3] Determining At Which Tab A Buildbutton Is Located - DerelictStudios Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[ra3] Determining At Which Tab A Buildbutton Is Located

#1 User is offline   Count von Phoib 

  • Dark Volcano Lord
  • Group: Volcano Lord
  • Posts: 15,322
  • Joined: 05-April 03
  • Mod Registrations:

Posted 26 September 2009 - 03:11 PM

Sometimes, you want to specify exactly at which tab an object is created. Most of the time, this is done for you, with the help of InheritFrom, which has defined it for you. For example, inheritFrom="BaseInfantry" makes sure an object build button is located at the infantry tab.

You can, however, set it yourself.

To do this, add in <GameObject the following line:
CODE
ProductionQueueType="value"


You can fill in the following values:
ValueTab
MAIN_STRUCTUREBuilding tab
OTHER_STRUCTUREBase defense tab
INFANTRYInfantry tab
VEHICLEVehicles Tab
WATERCRAFTShips tab
AIRCRAFTAircraft tab

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users