Welcome to the Builder Academy

Question Location based trigger

More
26 Feb 2016 05:47 - 26 Feb 2016 05:48 #5612 by evorg
Location based trigger was created by evorg
So I'm probably over-looking something but I've searched as good as my search skills are capable and I can't find a good example of one of Rumble's or anyone else's examples that do this:

I made an object that casts word of recall on the player. However, I want it to be only useable within zone 5. I've tried using zonenumber == 5 and zonenumber(5) but it's not working. I've already tried %location% but that's not doing it either. I'm probably just getting the syntax wrong but if anyone could help me out that would be great. Thanks!
Last edit: 26 Feb 2016 05:48 by evorg.

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

More
26 Feb 2016 07:53 #5613 by thomas
Replied by thomas on topic Location based trigger
Have you tried
Code:
%actor.room.zonenumber% == 5

?
The following user(s) said Thank You: Dvinn

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

More
26 Feb 2016 08:32 #5614 by Rumble
Replied by Rumble on topic Location based trigger
Correct, HELP VARIABLES for a full list. Or at least a list of all the other variable help files. Zonenumber is in HELP ROOM-VAR.

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

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

More
26 Feb 2016 15:36 #5615 by evorg
Replied by evorg on topic Location based trigger
Thank you! I was just doing %actor.zonenumber% == 5. You guys are pretty awesome. Thanks!

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

Time to create page: 0.195 seconds