Reading a units armor type or category
Moderator: Moderators
Reading a units armor type or category
Is this possible? The wiki has no information regarding this.
Re: Reading a units armor type or category
http://springrts.com/wiki/Lua_UnitDefs
both armorType and category work iirc
both armorType and category work iirc
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Reading a units armor type or category
Beware, category is flaky as all hell.
Re: Reading a units armor type or category
Meaningless post... is meaningless.Forboding Angel wrote:Beware, category is flaky as all hell.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Reading a units armor type or category
Categories sometimes work. Sometimes the don't. In some cases, only the first category listed will be obeyed. At other times in that same list, all will be obeyed.
In other words, don't rely on categories too heavily, because you will end up quite frustrated with the results.
In other words, don't rely on categories too heavily, because you will end up quite frustrated with the results.
Re: Reading a units armor type or category
Categories work fine, and this is entirely tangential to the OP.