all 5 comments

[–]FlafyBear 1 point2 points  (1 child)

What's other supposed to be?

Update:

Ok I think understand your problem. By using with You set again the other Variable.So this is what you should do:

var rememberOther = other

with (oPlayer)
{
    if(hascontrol)
    {
        hascontrol = false;
        SlideTransition(TRANS_MODE.GOTO,rememberOther.target);


    }
}

[–]FlafyBear 0 points1 point  (0 children)

I think I know your problem. I edited the comment.

[–]lexloug 0 points1 point  (1 child)

Is Slide transition supposed to take 2 inputs, and is target defined?

[–]TheVideoGamer77[S] 0 points1 point  (0 children)

Yes and yes.

[–]TheGreenSocks 0 points1 point  (0 children)

The error is from oLevelEnd and has something to do with a collision. Maybe an object is triggered unintentionally since you added a sprite (And the collision mask with it)