Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 1679

Need help switching from other to self

$
0
0
//Collision event with player_obj
GML:
if level > 1
{
    with (other)
    {
        if key_int and magic < 180
        {
            sprite_index = float_spr;
            with (id) //here is the problem
            {
                if (alarm[0] > 0)
                {
                    alarm[0] = 10;
                    sprite_index = bush_spr; //for testing
                }
            }
        }
    }
}
so here is my code. The bush sprite is there for testing, and it's...

Need help switching from other to self

Viewing all articles
Browse latest Browse all 1679

Trending Articles