IsPoison- Potion

From Creation Kit
Jump to: navigation, 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