May 2021 1 215 Report
Game Maker compare object variables?

i have a question about a specific issue i've come across in my game...

is there any way to compare two variables each specific to a different object.

what i mean is that i need to compare, for example, the variable "color" (meaning the one specifically for object1) to the variable "color" (meaning the one specifically for object2)

i tried something like this under a create event on object1 (with "self selected"):

if color = color (object2)

SOMEONE HELP

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.