waldhoppser
02.02.2010, 20:57
FUNC VOID Lifebar (VAR INT x, VAR INT y, VAR INT time, VAR STRING s1, VAR STRING s2, VAR STRING s3, VAR STRING s4, VAR STRING s5, VAR STRING s6, VAR STRING s7, VAR STRING s8, VAR STRING s9, VAR STRING s10, VAR STRING s11, VAR STRING s12, VAR STRING s13, VAR STRING s14, VAR STRING s15, VAR STRING s16, VAR STRING s17, VAR STRING s18, VAR STRING s19, VAR STRING s20, VAR STRING s21)
{
PrintScreen ( s1, x,y,"font_g2.tga",time);
PrintScreen ( s2, x+1,y,"font_g2.tga",time);
PrintScreen ( s3, x+2,y,"font_g2.tga",time);
PrintScreen ( s4, x+3,y,"font_g2.tga",time);
PrintScreen ( s5, x+4,y,"font_g2.tga",time);
PrintScreen ( s6, x+5,y,"font_g2.tga",time);
PrintScreen ( s7, x+6,y,"font_g2.tga",time);
PrintScreen ( s8, x+7,y,"font_g2.tga",time);
PrintScreen ( s9, x+8,y,"font_g2.tga",time);
PrintScreen (s10, x+9,y,"font_g2.tga",time);
PrintScreen (s11, x+10,y,"font_g2.tga",time);
PrintScreen (s12, x+11,y,"font_g2.tga",time);
PrintScreen (s13, x+12,y,"font_g2.tga",time);
PrintScreen (s14, x+13,y,"font_g2.tga",time);
PrintScreen (s15, x+14,y,"font_g2.tga",time);
PrintScreen (s16, x+15,y,"font_g2.tga",time);
PrintScreen (s17, x+16,y,"font_g2.tga",time);
PrintScreen (s18, x+17,y,"font_g2.tga",time);
PrintScreen (s19, x+18,y,"font_g2.tga",time);
PrintScreen (s20, x+19,y,"font_g2.tga",time);
PrintScreen (s21, x+20,y,"font_g2.tga",time);
};
func void LEBENSBALKEN_S0()
{
// Print ("lol");
if hero.attribute[ATR_HITPOINTS] >= 100 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "n");};
if hero.attribute[ATR_HITPOINTS] >= 95 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 90 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 85 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 80 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 75 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 70 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 65 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 60 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 55 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 50 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 45 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 40 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 35 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 30 { Lifebar (50,50,1, "J", ".", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 25 { Lifebar (50,50, 1, "J", ".", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 20 { Lifebar (50,50, 1, "J", ".", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 15 { Lifebar (50,50, 1, "J", ".", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 10 { Lifebar (50,50, 1, "J", ".", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
if hero.attribute[ATR_HITPOINTS] >= 5 { Lifebar (50,50, 1, "J", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "i", "n");};
// PrintScreen ( ".", 50,50,"font_g2.tga",1);
Wld_SendTrigger ("PETER");
};
So folgendes Problem: Funktion wird aufgerufen, aber kein Balken erstellt
(Bewiesen durch eine Printprobe).
die .tga ist auch im _compiled-Ordner als .tey vorhanden.
Was mach ich falsch?
Powered by vBulletin® Version 4.2.2 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.