How to maintain a condition
IsaacPhoenix
Member, PRO Posts: 15
So I'm working on this project where when an actor is standing in a marked position, the open door attribute changes to one and he can pass through. That's not the game though. The game is pushing a block onto the marked position. How do I make the open door attribute turn to one when something is on it, but switch back to 0 when nothing is? I looked at constrain attribute but that didn't seem to work. I was looking at the interpolate but I'm uncertain on that too.
Comments
When door collides with 'something'
--change attribute to 1
. . . . . . . .
--Otherwise
--change attribute to 0
Dang I have stuff in the otherwise category. I'll reorganize and see if that works.
Actually that didn't work. I set the otherwise and then tested it. The attribute still remained the same after moving the object. Is there another way to do it?
So when actor moved on door it changed attribute to 1 but when you moved off it remains 1?
I'm going guess 'the same' means it remained 1 (rather than 0) ?
Can you post a screenshot of these rules ?