why this happened?
hi all, i create a actor and created like 20 self attributes on it, each will change a game.atribute to self attribute, for ex.
one of my self attribute is called "image#" so i have this rule
change self.image to tablecellvalue( table.images,image#,1) so basically the actor changes image depending on his self.image#" attribute, ok so far everything was good, then i duplicated this main actor, and renamed "cross" , i did this because this saves time for other rules that i dont need to type again, but since i did not need this self.image# attribute on this new actor, i deleted this attribute. but now in my first original actor everything that used self.image# changed to 0.
one of my self attribute is called "image#" so i have this rule
change self.image to tablecellvalue( table.images,image#,1) so basically the actor changes image depending on his self.image#" attribute, ok so far everything was good, then i duplicated this main actor, and renamed "cross" , i did this because this saves time for other rules that i dont need to type again, but since i did not need this self.image# attribute on this new actor, i deleted this attribute. but now in my first original actor everything that used self.image# changed to 0.
Comments
1. create a actor "hero", then in the actor i created 18 self attributes,
2. duplicated "hero" and renamed "hero2"
3. dupliacted again "hero" and renamed "cross"
4. on "cross" actor deleted this 18 self attributes that i dont need,
5. click play and got a mess.
6. both "hero" and "hero2" self attributes have a value of 0 now, instead of self.attribute
crazy ha
make sure you are not duplicating them in the game, but in the actors window.
also, mac or windows?
I bet if you started a new project and recreated your rules/actors, you'd be fine.
create a new actor and in this actor a create a self.real attribute "points"
create a global game.attibute "score"
on my actor i drag a change attribute, change game.score to self.points and display this attribute ok, so i set it to 400, click play and works fine,
now duplicated this actor, so now i have actor1 copy, on this new actor delete the change attribute behavior and delete the self.point attribute,now i went back and my first actor instead of having change attribute game.score to self.points, is like this
change attribute game.score to 0 , this is not right.
can you download it and duplicate the actor and in that actor just delete everything, i think that should not affect the first actor but it is.
looks like it could be a bug, make sure you submit it with as detailed as a description as possible.