If not overlaping?
Hunnenkoenig
Member Posts: 1,173
How could I possibly set up rules, which tell an actor to do something, if it's not overlaping or colliding with another actor?
Has anybody an idea?
Has anybody an idea?
Comments
Create a rule
Overlaps or Collide with the object you want, and you don't put any rule there
But, you put your rules in OtherWise.
Hope it helps.
Thanks! :-)
When overlaps with ??????
change game.boolean true
OTHERWISE
change game.boolean to false
Rule 2
When game.boolean is false
do blah blah blah
Or you could create a rule that when overlaps or collides constrain attribute self.overlap to true otherwise constrain to false
and then when self.overlap is false do X
EDIT: ooh beaten to it
Somehow I had a misconception about else rules.
The one I solved with
If overlaps do this
otherwise do something compeletely different
Until now I always thought, I have to make the counterpart rule for "otherwise"
So I thought I have to make
if overlaps do this
otherwise if doesn't overlap do something esle
---
While I was doing this, I forgot, what I wanted to do next :-D
I am tired.
I will experiment around tomorrow and then I surely will have something again, because my game concept seems to want to use this often.
For now, I have no brain for it :-)
Right now I am fumbling through the basics.