playMaker

Author Topic: Trigger Event not working [SOLVED]  (Read 5672 times)

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
Trigger Event not working [SOLVED]
« on: December 03, 2014, 01:38:43 PM »
Hello, I bumped into another problem while doing the tutorials. Not sure if I should've just posted this into the other thread, but as both are about a different thing it's probably better to just keep them separate. Here we go:

When I set up a custom trigger event, it does not work for some weird reason. If I change the custom trigger event to a normal Trigger Enter event it works perfectly. I guess that means the Box Collider should be set up properly, the Is Trigger check box is checked and I have deleted the Mesh Renderer from the cube object as well.

Here's a picture of my current thingy:



Peace  :)
« Last Edit: December 04, 2014, 08:29:53 AM by Merto »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Trigger Event not working
« Reply #1 on: December 03, 2014, 01:41:12 PM »
Is the object you're putting into the trigger to activate it on the "Untagged" tag?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
Re: Trigger Event not working
« Reply #2 on: December 03, 2014, 01:49:00 PM »
If you mean the trigger object itself, it is Untagged. All of the other items linked to the thing are Untagged as well. I tried creating a new tag, then adding it to the state and object, but it didn't help.  :-\
« Last Edit: December 03, 2014, 01:55:00 PM by Merto »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Trigger Event not working
« Reply #3 on: December 03, 2014, 01:55:32 PM »
can you post a repro scene?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
Re: Trigger Event not working
« Reply #4 on: December 03, 2014, 02:06:16 PM »
Hmm, what would a repro scene include? Sorry, I'm a total newbie!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Trigger Event not working
« Reply #5 on: December 03, 2014, 08:21:18 PM »
No problem :)

So you scene has a trigger setup that isn't working. Can you attach the scene here so I can open it and see whats going on? I need to reproduce the problem to see if its a bug or not.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
Re: Trigger Event not working
« Reply #6 on: December 04, 2014, 04:26:34 AM »
Okay, here you go. That scene is from a new project I did to test if the issue persists, so the structure is a bit different. Same problem, though!

« Last Edit: December 04, 2014, 04:28:13 AM by Merto »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Trigger Event not working
« Reply #7 on: December 04, 2014, 07:02:26 AM »
You have to tell the trigger what tag it should respond to. Currently it's assigned to Untagged but your player is on the Player tag.

Changing the tag on the Trigger Event action to Player results in the system behaving as intended. (Player moves into trigger, then exits trigger and the cube "breaks".
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
Re: Trigger Event not working
« Reply #8 on: December 04, 2014, 08:29:33 AM »
Works as intended now. Thanks for taking the time to help man!