Text attributes in different actors
imjustmike
Member Posts: 450
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.
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
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
Thanks!