Editing ShowPerkVaultBoyOnHUD - Game
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:Non-Delayed Native Functions]] | |||
'''Member of:''' [[Game Script]] | '''Member of:''' [[Game Script]] | ||
Plays the specified | Plays the specified Perk VaultBoy Swf and sound on the HUD. | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function ShowPerkVaultBoyOnHUD(string aVaultBoySwf, Sound aSoundDescriptor = None) | Function ShowPerkVaultBoyOnHUD(string aVaultBoySwf, Sound aSoundDescriptor = None) native global | ||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
*aVaultBoySwf: | *aVaultBoySwf: the name of the swf file to play. Should end with ".swf" | ||
*aSoundDescriptor: the sound that goes along with the animation. | *aSoundDescriptor: the sound that goes along with the animation. | ||
**'''Default''': None | **'''Default''': None | ||
Line 23: | Line 25: | ||
== Notes == | == Notes == | ||
* SWFs used this way do not seem to support all the features that can be used elsewhere. For example, an SWF which has its frames made out of PNGs with alpha blending will display as a solid colour, even though the same SWF will display just fine in the PipBoy perk screen. One quick solution for this is to use the Trace Bitmap feature in Flash and generate a separate SWF for use in the HUD, but it will result in jagged edges. | * SWFs used this way do not seem to support all the features that can be used elsewhere. For example, an SWF which has its frames made out of PNGs with alpha blending will display as a solid colour, even though the same SWF will display just fine in the PipBoy perk screen. One quick solution for this is to use the Trace Bitmap feature in Flash and generate a separate SWF for use in the HUD, but it will result in jagged edges. | ||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] | ||