So I recently started a new map and have never had any previous problems before while doing this. Here is an example:
void onStart()
{
AddEntityCollideCallback("Player","ScriptArea_1","HallwayScare", true, 1);
}
void HallwayScare(string &in asParent, string &in asChild, int alState)
{
SetPlayerCrouching(true);
}
void onEnter()
{
}
void onLeave()
{
}
The error/bug is that the script is not working/not loading. When I load the map and walk into the script it does not do anything.
Things I've Made Sure to Have Done:
- Both files have the same name: "Main.map" + "Main.hps"
- Re-Loaded Game
- Change Script Area Size
I know I'm new and haven't contributed anything but helpz pl0x<3 :3?