- Code: Select all
if (Health_NUM.textNumber >= 1);
{
(Health_NUM.textNumber = Health_NUM.textNumber -1);
}
else
{
DestroyActor("Event Actor");
}
and when I hit ok it says
Error Line 7: Expected ;
do you know whats wrong???
if (Health_NUM.textNumber >= 1);
{
(Health_NUM.textNumber = Health_NUM.textNumber -1);
}
else
{
DestroyActor("Event Actor");
}
if (Health_NUM.textNumber >= 1)
Health_NUM.textNumber = Health_NUM.textNumber -1;
Health_NUM.textNumber -=1;
Users browsing this forum: No registered users and 1 guest