SetEffectIconFlashing(object, int, int)

From NWN Lexicon
Jump to navigationJump to search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

Sets whether or not oCreature's nIconId is flashing in their GUI icon bar.

effect SetEffectIconFlashing(
    object oCreature,
    int nIconID,
    int bFlashing = TRUE
);


Parameters

oCreature
player object to affect
nIconID
Referenced to effecticons.2da or EFFECT_ICON_*
bFlashing
TRUE to force an existing icon to flash, FALSE to to stop.


Description

Sets whether or not oCreature's nIconId is flashing in their GUI icon bar. If oCreature does not have an icon associated with nIconId, nothing happens. This function does not add icons to oCreature's GUI icon bar. The icon will flash until the underlying effect is removed or this function is called again with bFlashing = FALSE.

Remarks

Information icon.png This section of the article is a stub. You can help the NWN Lexicon by expanding it.


Version

This function was added in 1.86.8193.35 of NWN:EE.


Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

See Also

functions:

EffectIcon() HideEffectIcon()

 author: Shadguy