Frictional Games Forum (read-only)

Full Version: What does aEntryType mean?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was putting in the PlayGui script line and I knew what to do until this popped up. I left it alone with empty brackets since it is a tString.

Any ideas?
entry huh? considering you are working with gui I am guessing it's a .lang file entry it is looking for, probably for a button text, or mail or something depending on what you are doing.
I'm looking into it now, I'll keep you posted.
aEntryType is not a tString, it is an eSoundEntryType
https://wiki.frictionalgames.com/hpl3/ga...nd_playgui

Possible values for eSoundEntryType (in hps_api.hps)
Code:
enum eSoundEntryType
{
    eSoundEntryType_World,
    eSoundEntryType_WorldClean,
    eSoundEntryType_Gui,
    eSoundEntryType_GuiWorld,
    eSoundEntryType_Safe,
    eSoundEntryType_WorldAll,
    eSoundEntryType_GuiAll,
    eSoundEntryType_AllExceptGui,
    eSoundEntryType_All
};

These pretty much mean different "mixing tracks", as in if you play a sound in Gui and fade the World sounds, the sound you were playing in Gui will not be affected.
Oh, thank you! Smile
seems I was wayyy off lol.