der code:

if (key_space == 1) // if we press the space button
{
ent_cycle("jump", my.skill22);
my.skill22 += 5 * time;
wait (1);
(jumping_mode == 1) {
}
(z_force > -20) { z_force -= 3 * time; } ELSE { z_force = -20; }
(jumping_mode == 0) {
(z_force > -20) { z_force -= 3 * time; } ELSE { z_force = -20; }
}
(z_force > -20) { z_force -= 3 * time; } ELSE { z_force = -20; }
}
}

hat vieeeele fehler


setz erstmal diesen ein, und dann arbeite dich vor
hier sind zumindes die syntaxfehler bearbeitet



if (key_space == 1) // if we press the space button
{
ent_cycle("jump", my.skill22);
my.skill22 += 5 * time;
wait (1);

if (jumping_mode == 1) {
(z_force > -20) { z_force -= 3 * time; } ELSE { z_force = -20; }
}

if (jumping_mode == 0) {
if(z_force > -20) { z_force -= 3 * time; } ELSE { z_force = -20; }
}



} //end if


} //ende action



(mich wundert wie du so viel code schreiben kannst wenn so grundsätzliche fehler
enthalten sind....
Tip: mach beim schreiben ab ubd zu auch mal einen build,
eine andere syntaxprüfung hat 3dgs nicht)





Last edited by Oxy; 09/17/08 15:44.