i already asked this... and i'm working for it now.. but it doesn't work.. i don't know how...
i have 3 buttons , 1 lever.
1 button (in the middle) can't be pushed , if you do it tells that you need to push 2 buttons and 1 lever...
so i place 2 buttons on other rooms and 1 lever.. if you push the buttons (and the lever) the Middle button can be activated! so i can use it then... How can i do this ?! i have already scripts...
void PressButton(string &in asEntity)
{
if(GetLocalVarInt("Button1") == 1 && GetLocalVarInt("Button2") == 1) {
SetEntityActive("Area", false);
return;
}
else SetLocalVarInt(asEntity, 1);
}
yes my first button name is button1 and the second one button2 and the Area's name is Area
i have only this... but i CAN push the third button.. can someone help me ?