ShowPerkVaultBoyOnHUD - Game

From the Fallout4 CreationKit Wiki
Revision as of 11:03, 2 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Plays the specified Perk VaultBoy Swf and sound on the HUD.

Syntax

Function ShowPerkVaultBoyOnHUD(string aVaultBoySwf, Sound aSoundDescriptor = None) native global

Parameters

  • aVaultBoySwf: the name of the swf file to play. Should end with ".swf"
  • aSoundDescriptor: the sound that goes along with the animation.
    • Default: None

Return Value

None

Examples

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

See Also