2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
|
that it is colliding with, Arg1 and Arg2 are its location, and Arg3
is the type of collision (0 if this object is trying to move into a
stationary object, 1 if another object is trying to move into this
stationary object, 2 if two objects are trying to move into the same
space, or 3 if two or more objects forming a loop are trying to move
into each other). There is no guarantee that this will only be called
once; sometimes it will be called multiple times for a single collision
or for multiple collisions with the same objects. (TODO)
CONFLICT
Called during scheduling of a deferred move if it is already currently
scheduled to move but in a different direction. Arg1 is the direction
that it is trying to schedule the move in. If the return value is false
then the schedule fails; if true, then it succeeds.
|
|
>
>
>
|
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
|
that it is colliding with, Arg1 and Arg2 are its location, and Arg3
is the type of collision (0 if this object is trying to move into a
stationary object, 1 if another object is trying to move into this
stationary object, 2 if two objects are trying to move into the same
space, or 3 if two or more objects forming a loop are trying to move
into each other). There is no guarantee that this will only be called
once; sometimes it will be called multiple times for a single collision
or for multiple collisions with the same objects. The return value has
bit0 to allow the move, bit1 to handle sharpness, and bit2 to retry if
the move fails. The bit16 and higher bits will have the similar effect
for the other object instead.
CONFLICT
Called during scheduling of a deferred move if it is already currently
scheduled to move but in a different direction. Arg1 is the direction
that it is trying to schedule the move in. If the return value is false
then the schedule fails; if true, then it succeeds.
|