We all start from somewere. I was just fortunate to know XML already
![Smile Smile](https://www.frictionalgames.com/forum/images/smilies/smile.gif)
The function is the name of the function itself - As in, you say AddEntityCollideCallback, then what you want it to affect and what you want it to do.
But scareactivate is the name of a result.
As in, Say you make a script zone. We're calling it Origin.
AddEntityCollideCallback("Player", "Origin", "scareactivate", true, 1); in OnStart {}
Means that when the Player Enters Origin, The scareactivate function will activate. You can rename scareactivate to anything, its irrelevant.
Then, you made
void scareactivate(string &in asParent, string &in asChild, int alState)
{
In here, you put the functions you want to activate when the player walks into Origin.
This can be health loss, sanity loss, gaining an item, end of the game, anything.
}
Hope this helps