Any way to check all actors?

FloridaGamesFloridaGames Member Posts: 328
edited November -1 in Working with GS (Mac)
is it possible to check every actor for a certain attribute? Im making an inventory system, and i want it so when you pick up an item and it is stackable, it checks all the inventory slots to see if you already have one.

Comments

  • jb15jb15 Member Posts: 602
    I believe for actors to reference other actor's attributes, those attributes have to transferred to global attributes. Not positive, though.
  • FloridaGamesFloridaGames Member Posts: 328
    No you can, just go to game>current scene>layer>then it list every actor> then all the actors attributes.
    But i was wondering if there ways some way to just say "if any actors attribute 'item' = 7"
    then add 1 to quanity.
  • jb15jb15 Member Posts: 602
    Oh--I thought you meant on a different scene. In that case, it looks like you know more than I do. :) Not sure how to do what you're asking.
Sign In or Register to comment.