Wenn ich einen schlüssel aufsammel will ich das auf dem bildschirm ein panel bild erscheint das den schlüssel symbolisiert.
Wie mach ich das???
bmap key_str1 = <key123.tga>;
panel key_pan
{
bmap = key_str1;
layer = 20;
pos_x = 0;
pos_y = 0;
flags = d3d, overlay, refresh;
}
action keys
{
while (player == null) {wait (1);}
my.passable = on;
while (vec_dist (player.x, my.x) > 30)
{
my.pan += 3 * time;
wait (1);
}
snd_play (bonus_sound, 30, 0);
Key += 1;
key_pan = visible; <<<<< Hier scheint was nicht richtig zu sein.
ent_remove (me);
}
Kann mir jemand helfen???.
Es kommt die Meldung ( Parameter Visible Unknown )
....