the magnituted condition can't use it
azavega
Member Posts: 362
I can use any of the condition you guys give me cause i cant edit the expression bisides the attributes rule...
to explain better in the rules beside the attribute opens and attribute browser not and expression editor if you guys have any other way to do it please let me know
to explain better in the rules beside the attribute opens and attribute browser not and expression editor if you guys have any other way to do it please let me know
Comments
EDIT: I'm not trying to be unhelpful, it's just that that is written very badly.
This is where you pick attributes (such as mouse position x,y, etc)
http://gamesalad.com/wiki/interface_reference:attribute_browser
This is where you set parameters and rules, use math, etc.
http://gamesalad.com/wiki/interface_reference:expression_editor
Does this clear things up?
Its even easier and less processor heavy if you just make an attribute and give it a static number.
Create an actor attribute. self.Number and set the value to 2. (Using your example)
Then have the Rule check, If self.Number > magnitude(linVelX,linVelY)