Location based trigger

More
5 years 7 months ago - 5 years 7 months ago #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: 5 years 7 months ago by evorg.

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

More
5 years 7 months ago #5613 by thomas
Replied by thomas on topic Location based trigger
Have you tried
%actor.room.zonenumber% == 5

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

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

More
5 years 7 months ago #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
This email address is being protected from spambots. You need JavaScript enabled to view it.
The following user(s) said Thank You: Dvinn

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

More
5 years 7 months ago #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.089 seconds