Hi, what I mean with this is for example to make that an event happens with certain probability. For example:

public bool Active = false;

void OnTriggerEnter()
{
   15% chance Active = true;
}

Something along those lines, is there some way to make it?

Take a look at Random.Range or Random