playMaker

Author Topic: Comparing Object Variables  (Read 8333 times)

nickg84

  • Playmaker Newbie
  • *
  • Posts: 10
Comparing Object Variables
« on: May 28, 2025, 03:56:42 PM »
Hello,

I'm not really sure the proper way to go about this, but I've stored an Object variable using 'Get Property' on a third party controller.  For context, I'm storing what weapon the character currently has equipped, so it stores it as an Object variable with Weapon set as its type.

Now how do I compare this Object variable so I can build the logic based on what weapon is equipped?  For example, let's say Sword1 is the current equipped weapon, stored in the Object variable.  I want some basic logic that says, if Object is Sword1, then ....