Frictional Games Forum (read-only)
What does aEntryType mean? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html)
+--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html)
+---- Forum: Development (https://www.frictionalgames.com/forum/forum-82.html)
+---- Thread: What does aEntryType mean? (/thread-31470.html)



What does aEntryType mean? - A.M Team - 10-29-2015

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?


RE: What does aEntryType mean? - WALP - 10-29-2015

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.


RE: What does aEntryType mean? - A.M Team - 10-29-2015

I'm looking into it now, I'll keep you posted.


RE: What does aEntryType mean? - Luis - 10-29-2015

aEntryType is not a tString, it is an eSoundEntryType
https://wiki.frictionalgames.com/hpl3/game/scripting/function_reference/helper_audio#sound_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.


RE: What does aEntryType mean? - A.M Team - 10-29-2015

Oh, thank you! Smile


RE: What does aEntryType mean? - WALP - 10-29-2015

seems I was wayyy off lol.