Hi everyone looking for help with the following command
I'm making a game that one character collects one Item , say a gun and another character collects a item , say a Axe.
This is what i'm trying to do but get a error.
this is the scrip.
function room_RepExec()
{
if (cEGO.InventoryQuantity[iGUN.ID]==1){ && if (cJOE.InventoryQuantity[iAXE.ID]==1){
gPUZ1.Visible = true;
}
else
gPUZ1.Visible = false;
}
}
=======================================
I know you can do this with Objects like
if (ocup.Visible == true && ojug.Visible == true){
is there anyway you can do the same but for character ?.
Thank you and hope someone can help with this.
Stevo2024
I'm making a game that one character collects one Item , say a gun and another character collects a item , say a Axe.
This is what i'm trying to do but get a error.
this is the scrip.
function room_RepExec()
{
if (cEGO.InventoryQuantity[iGUN.ID]==1){ && if (cJOE.InventoryQuantity[iAXE.ID]==1){
gPUZ1.Visible = true;
}
else
gPUZ1.Visible = false;
}
}
=======================================
I know you can do this with Objects like
if (ocup.Visible == true && ojug.Visible == true){
is there anyway you can do the same but for character ?.
Thank you and hope someone can help with this.
Stevo2024