1,482
edits
imported>Zartar |
m (Convert source tags to syntaxhighlight) |
||
| Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Int Function GetNumItems() Native | Int Function GetNumItems() Native | ||
</ | </syntaxhighlight> | ||
== Return Value == | == Return Value == | ||
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
* Check a single container. | * Check a single container. | ||
< | <syntaxhighlight lang="papyrus">Int iNumItems = MQ101AlduinREF.GetNumItems()</syntaxhighlight> | ||
* Set the weights of all ingredients in player's inventory to 0.1. | * Set the weights of all ingredients in player's inventory to 0.1. | ||
< | <syntaxhighlight lang="papyrus">Actor Property PlayerREF Auto | ||
Event SomeEvent() | Event SomeEvent() | ||
| Line 35: | Line 35: | ||
EndIf | EndIf | ||
EndWhile | EndWhile | ||
EndFunction</ | EndFunction</syntaxhighlight> | ||
== Notes == | == Notes == | ||