////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "MonsterDoor", "CollidePlayerWithMonsterDoor", true, 1);
}
void CollidePlayerWithMonsterDoor (string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Scarydude", true);
ShowEnemyPlayerPosition("Scarydude");
FadeRadialBlurTo(1.0f, 1.0f);
PlaySoundAtEntity("MonsterDoor", "react_scare.snt", "Player", 0.0f, true);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
So there's my script now, the names are all identical, the '' are correct now, only one OnStart. And it still won't work Q_Q Dam scripting, yo scary.
Anything that isn't correct in that script? By all logic it's supposed to now spawn the suitor and do the other things...
''Sick, twisted child... You'll burn for this!''