No script function to get abilities? WTF?!? |

Geez, you'd think there would be a script function for something as basic as "get the ability amounts of some ability on a space object"... am I stupid or something, or did Aaron actually forget to put that in???
Re: No script function to get abilities? WTF?!?
Submitted by AndreyKl on Sun, 2008-01-27 08:31.
May be you need this?
Get_Design_Ability_Component_Count
(Ability_Type_Name: string ): long
Returns the total number of abilities of type “Ability_Type_Name” on this design. Abilities can be from the design, the vehicle size, or any of its components. Can only be used on design objects.







Re: No script function to get abilities? WTF?!?
There are system script functions for seeing if a component or facility has a certain ability.
Space Empires Depot | SE:V Balance Mod