Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: misterjuly on September 21, 2022, 08:49:55 PM

Title: Multiple like game objects with different bools
Post by: misterjuly on September 21, 2022, 08:49:55 PM
Hello,

I have several game objects (for example stars in Super Mario 64), and I want to keep track if they are collected or not. I know I use a bool to do this, but how do I do it so that I don't have to make a bool and a tag for each individual collectible? Thanks!

John Bassi
Title: Re: Multiple like game objects with different bools
Post by: djaydino on September 22, 2022, 01:12:44 AM
Hi.
Use arrays or Array List (Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)) or hash tables