Skip to content

Conversation

@YulathTOP
Copy link

@YulathTOP YulathTOP commented Jan 14, 2026

… scripts to the Z-Axis level of the zone-in. Language was added to restrict it to PvP zone but I'm not 100% sure that that aspect is correct.

… scripts to the Z-Axis level of the zone-in.
Copy link
Owner

@SecretsOTheP SecretsOTheP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to put any 'eq' calls in the event they're called from - 'eq' does not exist at global scope here.

Additionally, 'eq' contains functions - you need to call them with no parameters and then compare.

local constants are fine though.

local checks = 0;

local MIN_Z_LEVEL = 229; -- if boss is below this Z, reset boss to spawn point
if (eq.get_guild_zone_id != 1) then
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'eq' does not exist in this context (global scope) and this is a function call. This will not work.

Copy link
Author

@YulathTOP YulathTOP Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would something like this work? Too dumb to figure out how to post in code format so here's a screenshot.

image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SecretsOTheP Final changes submitted which I think resolve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants