DreTazzz
Member
Hi there,
If someone one please explain why my codes arent working? They are:
Under a Step Event within a TimeLine.
if room_exists(room_secretRoom_Dre) || room_exists(room_secretRoom_Tommy)
{
room_goto(room_midStartFromSecretBattle);
}
else
{
room_goto(room_arcadeGameOptions);
}
It keeps only going to the midStart room. Also, I have similar code that i am trying to do to adjust a variable:
CREATE EVENT under the obj_Enemy
if room_exists(room_secretRoom_Tommy)
{
enemyHp = 20;
}
if room_exists(room_bombsAway)
{
enemyHp = 100;
}
With this one, the Hp is always 20 in either room.
Any help would be great. Thank you.
André
If someone one please explain why my codes arent working? They are:
Under a Step Event within a TimeLine.
if room_exists(room_secretRoom_Dre) || room_exists(room_secretRoom_Tommy)
{
room_goto(room_midStartFromSecretBattle);
}
else
{
room_goto(room_arcadeGameOptions);
}
It keeps only going to the midStart room. Also, I have similar code that i am trying to do to adjust a variable:
CREATE EVENT under the obj_Enemy
if room_exists(room_secretRoom_Tommy)
{
enemyHp = 20;
}
if room_exists(room_bombsAway)
{
enemyHp = 100;
}
With this one, the Hp is always 20 in either room.
Any help would be great. Thank you.
André