IsFood - Potion

From the CreationKit Wiki
Revision as of 03:45, 10 May 2012 by imported>PurpleLunchbox (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Potion Script Returns whether this potion is food. (This function requires SKSE) == S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Potion Script

Returns whether this potion is food. (This function requires SKSE)

Syntax[edit | edit source]

bool Function IsFood() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns whether this potion is food.

Examples[edit | edit source]

Potion Property Ale Auto

If Ale.IsFood()
	Debug.Trace("Hooray its food!")
Else
	Debug.Trace("What?! This is supposed to be food")
Endif

See Also[edit | edit source]