playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out our
Chat Channel
!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Compare two Game Objects by Tag
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Compare two Game Objects by Tag (Read 799 times)
Christoph
Beta Group
Sr. Member
Posts: 254
Compare two Game Objects by Tag
«
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.
Logged
Christoph
Beta Group
Sr. Member
Posts: 254
Re: Compare two Game Objects by Tag
«
Reply #1 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!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Compare two Game Objects by Tag