IsHostile - Potion

From the Fallout4 CreationKit Wiki
Revision as of 13:35, 24 January 2011 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Potion Script Returns whether this potion is considered hostile or not. == Syntax == <source lang="papyrus"> bo…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Potion Script

Returns whether this potion is considered hostile or not.

Syntax[edit | edit source]

bool Function IsHostile() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this potion is considered hostile

Examples[edit | edit source]

if (MyPotion.IsHostile())
  Debug.Trace("Got hit with a hostile potion!")
endIf

See Also[edit | edit source]