ShowPerkVaultBoyOnHUD - Game

Revision as of 12:03, 2 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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