12-18-2011, 09:58 PM
Im almost done with my first part of my first sory.
only 2 things left that causes me headache -.-*
1. my waterlurker is a bit lazy and dont want to get triggered:
2nd thing is my goddamn sound problem x(
the soundfile '15_the_big_scream.snt' is so random... the whole script works fine...but these sounds.... really random...
for example:
1st testing it works properly
2nd testing i wasnt even near to the area and i heard it.
i just want to hear it ONE time when i ENTER the script area^^
thanks for the help
only 2 things left that causes me headache -.-*
1. my waterlurker is a bit lazy and dont want to get triggered:
PHP Code:
void OnStart()
{
AddEntityCollideCallback("Player", "wassermonster1", "wasser", true, 1);
}
void wasser(string &in asEntity, string &in type)
{
SetEntityActive("wassermonster", true);
ShowEnemyPlayerPosition("wassermonster");
}
2nd thing is my goddamn sound problem x(
PHP Code:
void looking(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("lookto", 10, 50, "");
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare.snt", "Player", 0, false);
PlaySoundAtEntity("", "15_the_big_scream.snt", "Player", 0, false);
GiveSanityDamage(5.0f, true);
AddTimer("", 2, "TimerStopPlayerLook");
}
the soundfile '15_the_big_scream.snt' is so random... the whole script works fine...but these sounds.... really random...
for example:
1st testing it works properly
2nd testing i wasnt even near to the area and i heard it.
i just want to hear it ONE time when i ENTER the script area^^
thanks for the help