Gameplay using Trigger Volumes

Hello unity!! i am a new user of unity and i just started 2 weeks ago, i am used to use UDK and i am very good it at and our company had to switch to unity because of some reasons.

I would like you know how is it possible to use Trigger volumes to create gameplay?
For an example in UDK.

I create two different barrels that are different colour, and i create 2 pressure plates.
The objective is to take one barrel to the specific pressure plate, if done correctly it opens up a door.

That’s what i really am looking for, I can do that easily in UDk using Kismet but Unity doesn’t not support such future, anyone could help or give me a basic guide i could use?

Is this the suitable place to add these kinds of posts? please tell me what thread is best to use :stuck_out_tongue:

Look in the doc scripting reference for examples on trigger functions (eg) OnTriggerEnter().

Check the tag of the object that entered the trigger

// Untested, from memory lol
function OnTriggerEnter( col : Collider ) {
    if(col.gameObject.tag == "SomeTagYouMade") {
      // Open door code here
    }
}