Text attributes in different actors

I'm using attributes in actors to control rules across multiple instances of the same actor. So I can create something like start_position, and then change it in the multiple instances of the actor and use that attribute in the prototype. That all works fine.

But for some reason, when I try to do the same thing with text attributes, it doesn't work. If I change a text attribute in one instance of the actor, it changes in them all.

Is that intended behaviour? Seems strange that I can have unique entries of real and integer attributes, but not text.

It's not a game breaker, I'm using the attribute to determine to 'type' of the actor - I'd like to use a rule that say if attribute = green_monster, then do one thing, if not, do another. I could do that with numbers, it's just frustrating that I'll have to remember that 1=green_monster since I plan to have lots different types.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    This is a known bug. It actually can happen with any type of attribute, not just text.

    There's a thread with suggested workarounds but most of them have to do with quitting and re-opening Creator.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • imjustmikeimjustmike Member Posts: 450
    Ah, thanks for letting me know. I'll use integer attributes for this project, since it seems to be working :)

    Thanks!
Sign In or Register to comment.