Mod:Creation Kit/OnLooksMenuEvent - ScriptObject

Member of: ScriptObject

Event called to trigger flavor dialog in looks menu.

This event will only be sent to the specific script that registered for it. Other scripts will not receive the event unless they also register.

Syntax
Event OnLooksMenuEvent(int aiFlavor)

Parameters

 * aiFlavor - Context for the banter. One of the following values:
 * 0: General, uncontextualized banter
 * 1: Eye-related banter
 * 2: Nose-related banter
 * 3: Mouth-related banter
 * 4: Hair-related banter
 * 5: Beard-related banter
 * 10: Player has chosen to start editing the body.
 * 11: Player has chosen to finish editing the body.
 * 12: Player has resumed looking at the headtrack target (i.e. we’re back in face mode).

Example
Function SomeFunction RegisterForLooksMenuEvent ; Before we can use LooksMenuEvent we must register. EndFunction

Event OnLooksMenuEvent(int aiFlavor) Debug.Trace("Looks menu flavor: " + aiFlavor) endEvent