Difference between revisions of "GetObjectComponentCount - MiscObject"
Jump to navigation
Jump to search
imported>Hannibalektr (Created page with "Category:Scripting Category:Papyrus '''Member of:''' MiscObject Script Returns the number of the given component this form has. == Syntax == <source lang="papyru...") |
imported>Qazaaq |
||
Line 3: | Line 3: | ||
'''Member of:''' [[MiscObject Script]] | '''Member of:''' [[MiscObject Script]] | ||
Returns the number of the given | Returns the number of the given [[Component]] this form has. | ||
== Syntax == | == Syntax == | ||
Line 24: | Line 24: | ||
== See Also == | == See Also == | ||
*[[MiscObject | *[[MiscObject]] |
Revision as of 19:07, 8 October 2016
Member of: MiscObject Script
Returns the number of the given Component this form has.
Syntax
int Function GetObjectComponentCount( Component akComponent ) native
Parameters
- akComponent - The component you are interested in.
Return Value
The number of the given component this form has.
Examples
if item.GetObjectComponentCount( Screws ) > 1
Debug.Trace("This item has too many screws. The game is now unbalanced.")
endIf