Hey guys!
I´m trying to create a desinfection airlock for my greenhouse, similar to the one at the arkroom in Soma.
So i thought i simple place a trigger area in my airlock, that triggers a method, that closes the doors, sprays some spray and let me out the airlock.
I wrote in my script:
bool Desinfection (const tString &in asParent, const tString &in asChild, int alState)
{
//dothings
}
But it only does things when i enter the area from one side. I looked into the Soma-code already, but things look quite complex.
If anyone could explain me how i get the trigger area to work from both sides, i´d be really thankfull
Thanks guys!