01-17-2012, 01:46 PM
Well i had about 3 weeks break about scripting and i forgot scripting almost completely so what is wrong in this script and it says unexcepted end of the file...
void OnStart()
{
AddEntityCollideCallback("Player", "noita", "KoiranTulo", true, 1);
}
void Koirantulo (string &in asEntity, string &in type)
{
SetEntityActivate ("koira_1", true);
PlaySoundAtEntity("", "00_laugh.snt", "door_scare);
}
void OnStart()
{
AddEntityCollideCallback("Player", "noita", "KoiranTulo", true, 1);
}
void Koirantulo (string &in asEntity, string &in type)
{
SetEntityActivate ("koira_1", true);
PlaySoundAtEntity("", "00_laugh.snt", "door_scare);
}