Strange behavior - rules disappear in play
I have a set of rules applied to an actor's movement; works great. In anticipation for a second set of rules for the same actor, I made a button that toggles an action.attribute on/off. The plan was to make an actor switch behaviors with a button push. The problem is, when I toggle the behavior, the actor passes through walls, or floats off. The only change I made was to put the rules into a 'group' and assign a rule that selects that group when action.attribute is toggled on. Very strange. Any idea or suggestions?
Comments
I think it's probably the way you've got the second timer kicking in before it applies the interpolate behaviour, either that or the actual attribute itself is an integer when it should be a 'real' attribute.
I do palm reading on Fridays too.
"No timer, but the Game attribute I set up is an integer . . . . . "
Whoops, sorry! I didn't think you'd take my post seriously (that's what the "I do palm reading on Fridays too." and the
My point was that unless you tell people what's going on in your rules then the best anyone can do is make random guesses (or more likely ignore the question), of course I have no clue whether you are using a timer or an Integer attribute, or in fact anything about your rules at all.
8-X
The real answer is that it could be any number of things from a single behaviour simply being left switched off to an erroneous minus symbol left in an expression, who knows ?
Well then, assuming my code is correct...Is there any reason a set of rules/behaviors would stop working because it is nested inside a "group" container?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
"Well then, assuming my code is correct...Is there any reason a set of rules/behaviors would stop working because it is nested inside a "group" container?"
I doubt it.
@gyroscope
"If you've switched the rules off and forgot? "
:ar! 8-X