Welcome to the Builder Academy

Question Script not opening door

More
27 Mar 2018 21:42 #7814 by Nero
Script not opening door was created by Nero
When typing pull lever, nothing happens. I have the trigger set. I have the script in both the room and the zone I am trying to pull the lever in.
Code:
Trigger Editor [903] 1) Name : door trigger 2) Intended for : Rooms 3) Trigger types: Command 4) Numeric Arg : 100 5) Arguments : pull 6) Commands: if %arg% == lever if %is_open%==1 %send% %actor.name% You pull the lever, but nothing more happens. %echoaround% %actor.name% %actor.name% pulls the lever, but nothing happens. else %send% %actor.name% You hear a faint click, then a scraping noise from the west. %echoaround% %actor.name% %actor.name% pulls on the lever, and you hear a scraping noise from the west. %at% 926 %echo% The doorway along the north wall slides open. %at% 928 %echo% You see the back of the doorway slide away, opening the exit to the room to the south! %door% 926 south room 929 %door% 929 north room 926 set is_open 1 global is_open end else return 0 end

Please Log in or Create an account to join the conversation.

More
28 Mar 2018 03:33 #7815 by Treblin
Replied by Treblin on topic Script not opening door
Greetings!
Have you tried the script using a mortal level character?

Stock behavior prevents Immortal (IIRC level 32 +) from using command based scripts...

Simple enough change if that is the issue.

Please Log in or Create an account to join the conversation.

More
28 Mar 2018 05:14 #7816 by JTP
Replied by JTP on topic Script not opening door
Yes always test with a mortal char.

Try tstat 8901

You might need:
%door% 926 south flags a
%door% 926 south name door


%door% 929 north flags a
%door% 929 north name door

Please Log in or Create an account to join the conversation.

More
28 Mar 2018 07:56 #7817 by Nero
Replied by Nero on topic Script not opening door
Yes I have tried with a mortal and I tried the above recommended code
When typing in pull lever it just acts like its not a command just says, "Huh?!"

Please Log in or Create an account to join the conversation.

More
28 Mar 2018 09:06 #7818 by JTP
Replied by JTP on topic Script not opening door
Trigger Type: Command , Numeric Arg: 100, Arg list: pu

if pull /= %cmd% && lever /= %arg%

Please Log in or Create an account to join the conversation.

More
28 Mar 2018 09:40 - 28 Mar 2018 09:41 #7819 by JTP
Replied by JTP on topic Script not opening door
Did you remove he pull social ?

It should say Who's leg do you want to pull?
Last edit: 28 Mar 2018 09:41 by JTP.

Please Log in or Create an account to join the conversation.

Time to create page: 0.219 seconds