IsPoison- Potion

From the CreationKit Wiki
Revision as of 01:15, 9 June 2015 by imported>Notanon
(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 poison. (This function requires SKSE)

Syntax

bool Function IsPoison() native

Parameters

None

Return Value

Returns whether this potion is food.

Examples

Potion Property Ale Auto

If Ale.IsPoison()
	Debug.Trace("Ack, it's poison!")
Else
	Debug.Trace("Whew, it isn't poisonous!")
Endif

See Also