Difference between revisions of "IsPoison- Potion"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Notanon
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Potion Script Returns whether this potion is poison. (This function requires SKSE) ==...")
 
imported>Notanon
 
Line 21: Line 21:
Potion Property Ale Auto
Potion Property Ale Auto


If Ale.IsPotion()
If Ale.IsPoison()
Debug.Trace("Ack, it's poison!")
Debug.Trace("Ack, it's poison!")
Else
Else

Latest revision as of 01:15, 9 June 2015

SKSE Member of: Potion Script

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

Syntax[edit | edit source]

bool Function IsPoison() 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.IsPoison()
	Debug.Trace("Ack, it's poison!")
Else
	Debug.Trace("Whew, it isn't poisonous!")
Endif

See Also[edit | edit source]