- Posts: 13
- Thank you received: 1
re: %at% to a variable?
- zi
-
Topic Author
- Offline
- New Member
-
Less
More
2 years 5 days ago #8704
by zi
_,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,_
Making 3M Great Again!
telnet://3m.funcity.org:3000
_,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,_
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.
Doesn't return anything to me (imm) or other characters who happen to be in the room! Am I missing something?
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.
- thomas
-
- Offline
- Administrator
-
Less
More
- Posts: 751
- Thank you received: 143
2 years 4 days ago #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.
- thomas
-
- Offline
- Administrator
-
Less
More
- Posts: 751
- Thank you received: 143
2 years 4 days ago #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.073 seconds