Change if blocked, means for me, that an element changes, if it doesn´t move further, if his ways are closed. But as I see, "change if blocked" makes nothing.
For example a water drop - CE, that explodes, if it reaches the ground, EVEN, if it get placed directly one field over the ground (that "change if hitting something" can´t help more).
And the "blocked" function seems to me a bug, since I can´t detect when it is blocked !
Blocked
Moderators: Flumminator, Zomis
-
- Posts: 184
- Joined: Fri Jun 18, 2004 8:08 pm
- Location: Germany
Maybe you already know this, but note that the side parameter works here..richard wrote:That´s a bit too less for it´s mean... I think effect "blocked" should arrive, if a CE can´t move any more. Like if a CE, that can only move left, and collides or gets placed next to the blocking element, changes.
I'm not sure at all how blocking works in reality (well, in RND ) and how it is intended to work...I guess you can write a 8-paper essay about this
Richard:
> Change if blocked, means for me, that an element changes, if it doesn´t move further, if his
> ways are closed. But as I see, "change if blocked" makes nothing.
[...]
> And the "blocked" function seems to me a bug, since I can´t detect when it is blocked !
Richard, you are perfectly right! Sorry for that -- this is still experimental and available in the level editor just by accident (and commented out in game.c, because it does not work yet).
Flumminator:
> As I see it "blocked" means that it previously moved and then gets blocked...
Well, that would be more like "change when hitting something".
"change when blocked" should trigger a CE change in a case where a movable CE would like to move, but cannot move because of being blocked (like Richard described). So it would also change when it has never moved before because of that blocking, which makes it different to "change when hitting". This "change when blocking" could still be needed for quite some situations, like shooting when the projectile cannot move right from the start, so "hitting" would not work...
> Change if blocked, means for me, that an element changes, if it doesn´t move further, if his
> ways are closed. But as I see, "change if blocked" makes nothing.
[...]
> And the "blocked" function seems to me a bug, since I can´t detect when it is blocked !
Richard, you are perfectly right! Sorry for that -- this is still experimental and available in the level editor just by accident (and commented out in game.c, because it does not work yet).
Flumminator:
> As I see it "blocked" means that it previously moved and then gets blocked...
Well, that would be more like "change when hitting something".
"change when blocked" should trigger a CE change in a case where a movable CE would like to move, but cannot move because of being blocked (like Richard described). So it would also change when it has never moved before because of that blocking, which makes it different to "change when hitting". This "change when blocking" could still be needed for quite some situations, like shooting when the projectile cannot move right from the start, so "hitting" would not work...
-
- Posts: 184
- Joined: Fri Jun 18, 2004 8:08 pm
- Location: Germany