Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Christoph on September 28, 2020, 10:34:07 AM

Title: Compare two Game Objects by Tag
Post by: Christoph on September 28, 2020, 10:34:07 AM
Hi,

is it possible to compare two game objects by its tag?

Selecting game object 1 and 2 and then if the tag is the same do something, if not the same, do something else.
Title: Re: Compare two Game Objects by Tag
Post by: Christoph on September 28, 2020, 12:31:50 PM
Ok, I think I resolved this myself by converting the tag to a string (get tag action) and comparing the strings instead (string compare action).

Let me know if there's a better way, but working great otherwise.

Cheers!