Background for Fallout 4
Member of the ScriptObject script
eventOnLooksMenuEvent(intaiFlavor)

Description

Wiki Description

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.

Documentation Comment

Event sent from the looks menu to cue dialogue
0 = General, uncontextualized banter
1 = Eye-related banter
2 = Nose-related banter
3 = Mouth-related banter
4 = Hair-related banter
5 = Beard-related banter


Caveats

CK Wiki - Notes

None


Parameters

  1. intaiFlavor

    CK Wiki Description

    • 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).

Examples

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

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

Auto-Generated Example

Scriptname MyCoolScript extends ScriptObject

event OnLooksMenuEvent(int aiFlavor)
    Debug.trace("Event received - OnLooksMenuEvent: aiFlavor = " + aiFlavor)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.