The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Understanding Trigger Areas
Kanthos Offline
Junior Member

Posts: 48
Threads: 7
Joined: Oct 2015
Reputation: 1
#1
Understanding Trigger Areas

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 Smile

Thanks guys!
(This post was last modified: 11-23-2015, 01:10 PM by Kanthos.)
11-23-2015, 01:09 PM
Find


Messages In This Thread
Understanding Trigger Areas - by Kanthos - 11-23-2015, 01:09 PM
RE: Understanding Trigger Areas - by TiManGames - 11-24-2015, 02:13 PM
RE: Understanding Trigger Areas - by Kanthos - 11-24-2015, 03:48 PM



Users browsing this thread: 1 Guest(s)