simple recognition system, why its NOT working?
POM
Member Posts: 2,599
hey i have an actor with multiple sets of rules depending on an integer called "set" value,
so it goes like this:
******************************************************
when - self.I KNOW who am i is false :
when "set" = 1
change "self.my set of rules" to 1
change "self.I KNOW who am i to true
when "set" = 2
change "self.my set of rules" to 2
change "self.I KNOW who am i to true
*******************************************************
and so on, the logic of it seems to be fine, isnt it?!
howeverת its not working, when "set" = 1 all of my actors act as 1
and when "set" = 2 all of my actors act as 2 (and so on)
the actors are spawned 1 at a time every 1 sec . and the set value is +1 every sec as well.
why is this happening?
so it goes like this:
******************************************************
when - self.I KNOW who am i is false :
when "set" = 1
change "self.my set of rules" to 1
change "self.I KNOW who am i to true
when "set" = 2
change "self.my set of rules" to 2
change "self.I KNOW who am i to true
*******************************************************
and so on, the logic of it seems to be fine, isnt it?!
howeverת its not working, when "set" = 1 all of my actors act as 1
and when "set" = 2 all of my actors act as 2 (and so on)
the actors are spawned 1 at a time every 1 sec . and the set value is +1 every sec as well.
why is this happening?