Mod:Creation Kit/ShowPerkVaultBoyOnHUD - Game

Member of: Mod:Creation Kit/Game Script

Plays the specified Mod:Creation Kit/Perk VaultBoy Mod:Creation Kit/Flash File and sound on the HUD menu.

Syntax
Function ShowPerkVaultBoyOnHUD(string aVaultBoySwf, Sound aSoundDescriptor = None) Native Global

Parameters

 * aVaultBoySwf: The interface path to a Mod:Creation Kit/Flash File to play. Should include the  file extension.
 * aSoundDescriptor: the sound that goes along with the animation.
 * Default: None

Return Value
None

Examples
Game.ShowPerkVaultBoyOnHUD("Components/VaultBoys/Perks/PerkClip_1d245e.swf", perkSound)
 * We've triggered the Idiot Savant perk!