Welcome to the Builder Academy

Question re: %at% to a variable?

More
13 May 2020 14:41 #8704 by zi
re: %at% to a variable? was created by zi
Can I %at% to a variable?

Below is my trigger snippet- mob shoves player a few south, lands in one of three rooms. I want anyone who happens to be in the room to see the actor tumble in.

eval place 3058 + %random.3% *grab rando room*
%teleport% %actor% %place% *fires them over to 3059, 3060, 3061*
%actor.pos(sit)%
%send% %actor% You tumble backwards and fall on your butt!
%at% %place% %echoaround% %actor% %actor.name% tumbles into the room and falls on %actor.hisher% butt!


Doesn't return anything to me (imm) or other characters who happen to be in the room! Am I missing something?

_,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,_
Making 3M Great Again!
telnet://3m.funcity.org:3000
_,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,_

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

More
14 May 2020 20:42 #8709 by thomas
Replied by thomas on topic re: %at% to a variable?
This should work. Please try echoing out the value of %place% for debugging. You might also want to switch into the mob to see which errors are returned.

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

More
14 May 2020 20:43 #8710 by thomas
Replied by thomas on topic re: %at% to a variable?
By the way, you shouldn't need to %at% to call %echoaround% - that already limits to the room the actor is in.
The following user(s) said Thank You: zi

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

Time to create page: 0.168 seconds