Welcome to the Builder Academy

Question Need trigger help pls look

More
17 Apr 2013 21:19 - 17 Apr 2013 21:21 #1942 by JTP
Name: 'climb ladder', VNum: [ 4701], RNum: [ 826]
Trigger Intended Assignment: Objects
Trigger Type: Command , Numeric Arg: 7, Arg list: climb
Commands:
if %cmd.mudcommand% == climb && ladder /= %arg%
%send% %actor% You slowly climb up the rickety rope ladder.
%echoaround% %actor% %actor.name% slowly starts climbing up the rickety rope ladder.
%teleport% %actor% 4706
%force% %actor% look
%echoaround% %actor% %actor.name% climbs up out of the hollow tree stump.
else
%send% %actor% %cmd% what?!
end

This is the same as enter portal just with climb ladder, but i keep getting the what?! when i try to use it, anyone experienced with triggers who can tell me whats wrong ?
Last edit: 17 Apr 2013 21:21 by JTP.

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

More
17 Apr 2013 21:46 #1943 by thomas
Replied by thomas on topic Need trigger help pls look
Are you below level 32?

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

More
17 Apr 2013 21:49 - 17 Apr 2013 21:49 #1945 by JTP
Replied by JTP on topic Need trigger help pls look
Im using a mortal to test

wierd part is this works:

Name: 'climb ladder', VNum: [ 4701], RNum: [ 826]
Trigger Intended Assignment: Objects
Trigger Type: Command , Numeric Arg: 7, Arg list: climb
Commands:
if %cmd.mudcommand% == climb && ladder /= %arg%
end
%send% %actor% You slowly climb up the rickety rope ladder.
%echoaround% %actor% %actor.name% slowly starts climbing up the rickety rope ladder.
%teleport% %actor% 4706
%force% %actor% look
%echoaround% %actor% %actor.name% climbs up out of the hollow tree stump.
Last edit: 17 Apr 2013 21:49 by JTP.

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

More
17 Apr 2013 23:47 #1947 by Rumble
Replied by Rumble on topic Need trigger help pls look
Make sure nohassle is off.
Test with a mortal. Command triggers (and some other functionality) will not work for God and above.
For mob triggers make sure the mob can see the actor, set INFRA, DET-INVIS and switch into the mob and fire the trigger to see if the mob gets an error message.
For mobs AFF_CHARM prevents triggers from firing.
A second trigger of the same type will not fire unless the first has a return 0 in it.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

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

More
17 Apr 2013 23:48 #1948 by Rumble
Replied by Rumble on topic Need trigger help pls look
There is no mud.command climb. That only works for what is listed under "command"

Use

if %cmd% == climb && ladder /= %arg%

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com
The following user(s) said Thank You: JTP

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

More
18 Apr 2013 13:14 #1952 by Fizban
Replied by Fizban on topic Need trigger help pls look
Code:
set climb 'climb set ladder 'ladder if %climb.contains('%cmd%)% && %ladder.contains('%arg%)% %send% %actor% You slowly climb up the rickety rope ladder. %echoaround% %actor% %actor.name% slowly starts climbing up the rickety rope ladder. %teleport% %actor% 4706 %force% %actor% look %echoaround% %actor% %actor.name% climbs up out of the hollow tree stump. else %send% %actor% Climb what?! end

That keeps your originally intended mudcommand checking setup intact so they can still type 'cli lad', etc.
The following user(s) said Thank You: JTP

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

Time to create page: 0.398 seconds