- Code: Select all
if Icoins.textNumber =<15;
{
Iairrune.textNumber + 1;
Icoins.textNumber - 15;
}
The error message was
Error line 1: expected (
Error line 1: Undefined type for relational operation
thanks
if Icoins.textNumber =<15;
{
Iairrune.textNumber + 1;
Icoins.textNumber - 15;
}
if (Icoins.textNumber <= 15)
{
Iairrune.textNumber += 1;
Icoins.textNumber -= 15;
}
if (Imindrune.textNumber&Iairrune.textNumber >=1)
{
Imindrune.textNumber -=1;
Iairrune.textNumber -=1;
CreateActor("airstrike1", "airstrike", "(none)", "(none)", 0, 0, false);
}
if (lastdirection = 1)
{
y=y-10;
}
if (lastdirection = 2)
{
x=x+10;
}
if (lastdirection = 3)
{
y=y+10;
}
if (lastdirection = 4)
{
x=x-10;
}
Key down up
lastdirection=1;
Key down right
lastdirection=2;
then same for down and left
Zehper48 wrote:how do you give the variable a save group?
saveVars("game.sav", "Health");
loadVars("game.sav", "Health");
LoadGame("game.ged");
Users browsing this forum: No registered users and 1 guest