void OnStart()
{
AddEntityCollideCallback("Player", "AreaNameFromLevelEditor", "func", true, 1);
}
void func(string &in asParent, string &in asChild, int alState)
{
AddTimer("", 25.0f, "Timer_1");
}
void Timer_1(string &in asTimer)
{
SetEntityActive("KeyNameFromLevelEditor",true);
}
Pamiętaj tylko, że klucz musi mieć odznaczone "active", możesz to znaleźć jak klikniesz na kluczyk w level editorze, jest pod jego nazwą.
Bear in mind that key has to have active set as off, it can be found when you click at the key in level editor, below the name.
(judging by his next thread I assume he is polish so i write to him in polish)