playMaker

Author Topic: check multiple Tags  (Read 1352 times)

Kaikoura

  • Playmaker Newbie
  • *
  • Posts: 23
check multiple Tags
« on: February 27, 2023, 05:04:54 AM »
hey,

I want to use the Find Closest action to find gameobjects of e.g. tag 1 and tag 2 and then store the closest game object.
Is there a way to do this? Most actions only offer the option to choose one tag, is there a workaround to make an array with multiple tags or something?

thanks


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: check multiple Tags
« Reply #1 on: February 27, 2023, 10:50:15 AM »
Hi.
Maybe Game Object Tag Switch can help

Add a FINISHED event, this will be triggered if none of the switch tag are matched

Kaikoura

  • Playmaker Newbie
  • *
  • Posts: 23
Re: check multiple Tags
« Reply #2 on: February 28, 2023, 08:57:05 AM »
thanks,

I ended up writing a custom script that allows to set 2 tags.