X0 i0 highlight
Library to generate highlights on objects.
|AddHighlight||Apply a highlight effect to an object. Lasts permanently until removed.|
A few good ones, although any VFX_DUR_ effect can be used:
VFX_DUR_ETHEREAL_VISAGE: glowing, purple, transparent
VFX_DUR_GHOSTLY_VISAGE: glowing, blue, transparent
VFX_DUR_BLUR: alternating blue/white pulsing glow
VFX_DUR_PARALYZED: alternating red/white pulsing glow
VFX_DUR_PROT_SHADOW_ARMOR: shimmery opaque black glow
VFX_DUR_MIND_AFFECTING_DOMINATED: spinning crown of lights
VFX_DUR_MIND_AFFECTING_DISABLED: crown of sparkling lights
|AddTemporaryHighlight||Adds a temporary highlight to an object.|
|RemoveHighlight||Remove the highlight from an object. If not specified, removes the last-added highlight, although this default behavior will NOT work twice in a row to remove multiple highlights.|
This function is intended for use in a trigger OnEnter script. Add a highlight to the nearest object with the same tag as the trigger when a PC enters the trigger area.
This function is intended for use in a trigger OnExit script. Remove the highlight from the nearest object with the same tag as the trigger when a PC exits the trigger area.