I created an elevator that is lowered by default, the idea is that you need to activate a switch so that the floor of the elevator raises to a certain level, here is the script for the 1st switch:
And there is another switch when you press (when the lift is not activated) nothing happens, but shows a message that says: "the lift is not working" but when you activate it you become able to use the 2nd switch to raise and lower the lift without the message appearing.
My question is: how to insert a script for the 2nd switch when the lift is not activated with a message, and when it is activated but without message?
Hello;
I created an elevator that is lowered by default, the idea is that you need to activate a switch so that the floor of the elevator raises to a certain level, here is the script for the 1st switch:
-------------------------------------------------------------------
#include "zcommon.acs"
int lift1;
script 1 (void)
{
if (gametype()==GAME_NET_DEATHMATCH){
terminate;
}
lift1 = 1 ;
changecamera(1,1,0);
delay(16);
Floor_MoveToValue(2,12,232);
print(s:"The lift is now functional");
delay(160);
changecamera(0,0,0);
}
--------------------------------------------------------------------
And there is another switch when you press (when the lift is not activated) nothing happens, but shows a message that says: "the lift is not working" but when you activate it you become able to use the 2nd switch to raise and lower the lift without the message appearing.
My question is: how to insert a script for the 2nd switch when the lift is not activated with a message, and when it is activated but without message?
Share this post
Link to post