playMaker

Author Topic: Help with using Triggers  (Read 1447 times)

jgalvezpa

  • Junior Playmaker
  • **
  • Posts: 58
Help with using Triggers
« on: November 29, 2013, 12:07:29 AM »
all my objects have a Trigger Enter , when the red balloon explode all nearby objects explode, i did this,  but when blue balloon explode i want them to set to kinematic, but all the objects only have one trigger Enter,

what i want to know how my objects can know which effect to do when they get trigger.

« Last Edit: November 29, 2013, 12:13:35 AM by jgalvezpa »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Help with using Triggers
« Reply #1 on: November 29, 2013, 06:31:22 AM »
Hi,

 For this, you need to use "get Trigger info", filter by gameobjects, and then decide based on this.

 the other way it NOT to have trigger enter global system event, but use the action "Trigger event" and filter by tags, then you can dispatch different events based on the tag of the object that just triggered.

 Bye,

 Jean