IsPoison- Potion

From the CreationKit Wiki
Jump to navigation Jump to search

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]