Welcome to the Builder Academy

Question Creating a Listen trigger

More
24 Aug 2016 17:14 #6137 by punkmasterm
Hello there!
Long time mudder, brand new builder. Hopefully this is even the right section to post this in, if not please forgive me.

I'm looking to create just a basic trigger where a player would command 'listen mob' and the mob will 'say x'

I appreciate the help, in advance!

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

More
24 Aug 2016 19:03 #6138 by thomas
Replied by thomas on topic Creating a Listen trigger
Log on to tbamud, and run tstat 25. That should help you out :)

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

More
25 Aug 2016 05:29 #6139 by punkmasterm
You're the best, thanks so much!

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

More
25 Aug 2016 16:11 #6141 by punkmasterm
It didnt.. cant really grasp this. Ive had 0 problems with all the other stuff but triggers seems impossible to me.



1) Name : Groundskeeper listen
2) Intended for : Mobiles
3) Trigger types: Command
4) Numeric Arg : 100
5) Arguments : l
6) Commands:
if %cmd.mudcommand% == listen && groundskeeper /= %arg%
%send% %actor% The groundskeeper beckons you closer to tell his story.....
%echoround% %actor% %actor.name% starts talking to the groundskeeper.
else
* If it doesn't match let the command continue.
return 0
end


what is wrong?

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

More
25 Aug 2016 20:21 #6142 by thomas
Replied by thomas on topic Creating a Listen trigger
My bad - %cmd.mudcommand% will only return something interesting (anything, really) if the command actually exists in the command list. And, unless you've added listen as a command, this won't work.

An alternative could be to set the argument to "liste" (ie. one letter more than "list", which is already a command) and then dispense with the "%cmd.mudcommand% == listen &&" part.

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

More
26 Aug 2016 17:04 #6146 by punkmasterm
Thanks so much Thomas i will look into that!!!

Here's something else you may be able to help me with :)

Im trying to hide containers in a room, that either load weapons/treasure/etc. But i want the player to get the clue from the room description itself - not see the container laying on the floor.

Is there a way to make the container invisible to players? not the spell invis, like, actually invis!

thanks! heh

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

Time to create page: 0.186 seconds