Welcome to the Builder Academy

Question Teleport Certain Players in Room (Object) [Request]

More
03 Jul 2015 16:13 #5381 by Kay

Parnassus wrote: You missed this step:

You've pretty much told it that the object can't be carried, worn or in the same room.





Strugglign to see the issue with where to get/make the targets.

Response to that trigger is:

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

More
03 Jul 2015 19:57 #5383 by Kyle
how important is it to you that this be done with a trigger?

i'm willing to help out by maybe writing a SPECIAL for this, but as of about 6 years ago I absolutely refuse to work with DG scripts

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

More
03 Jul 2015 22:03 #5385 by thomas
hmm.. you're mixing %target% and %target_char% there.
The if-check is always false, so you and the presumable other person in the room see the result of

%send% %target% The bright light...

which fails and logs twice (once for you and once for the other) about it.

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

More
04 Jul 2015 08:43 - 04 Jul 2015 08:51 #5389 by Kay

Kyle wrote: how important is it to you that this be done with a trigger?

i'm willing to help out by maybe writing a SPECIAL for this, but as of about 6 years ago I absolutely refuse to work with DG scripts


Not sure what you mean by special. Could you please explain to me what that is? The item isn't going to be on TBA so if it's something that HAS to be done MUD/Code side then I'm not sure I could get the Imp on my MUD to put it in.

thomas wrote: hmm.. you're mixing %target% and %target_char% there.
The if-check is always false, so you and the presumable other person in the room see the result of

%send% %target% The bright light...

which fails and logs twice (once for you and once for the other) about it.


So the part with:

%send% %target_char%

should be

%send% %target%
Last edit: 04 Jul 2015 08:51 by Kay. Reason: mutiple quotes

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

More
04 Jul 2015 09:58 #5390 by thomas
Either settle on target_char or target.

That means switching

if (%target.sex% == male)

with

if (%target_char.sex% == male)

and the change to the %send% you mentioned.
The following user(s) said Thank You: Kay

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

More
04 Jul 2015 17:58 #5393 by Parnassus
It's really a good thing that Thomas can look at these things and see the problems because I'm gonna admit here, I have to do tests to try to figure out what goes on with the insides of triggers. To do that with yours, since you link to images of your trigger, I'd have to type it all out manually. If you copy and paste into a code window (that one up there that looks like a page with <> on it) any of us that might want to run tests can just copy and paste it out of the window.

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

Time to create page: 0.208 seconds