Resource icon

[Eluna] Set Custom Mall Speed 1

Set custom speeds for players when entering your mall location.

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
PrivateDonut submitted a new resource:

[Eluna] Set Custom Mall Speed - Set custom speeds for players when entering your mall location.

Introduction​

Are you tired of running around the mall very slowly? Well today I will be sharing a simple Lua script written for the ElunaLuaEngine to set your players speed based on what you define.


Features​

  • Define Mall Location Based on ZoneID
  • Send message to player when entering mall location

Screenshots:​

...

Read more about this resource...
 
Last edited:
Liked By 2 members :

Tommy

Staff
Staff
Tommy Rep
1
0
0
Rep
1
Tommy Vouches
0
0
0
Vouches
0
Posts
185
Likes
101
2 YEARS
2 YEARS OF SERVICE
LEVEL 6 310 XP
Malls are big, speed good. Great release! <3
 
Liked By 1 member :

JadaDev

reaper-wow.com
Legend
JadaDev Rep
5
0
0
Rep
5
JadaDev Vouches
0
0
0
Vouches
0
Posts
514
Likes
509
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 11 100 XP
Nice script bro ❤️
Keep it up!
 
Liked By 1 member :

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
Malls are big, speed good. Great release! <3

Nice script bro ❤️
Keep it up!

Thanks guys! :D

I updated the script, so you can no longer define your own speed. Instead It will cast a hidden spell ID on the player that will slightly boost their speed for about 50 seconds. But the script is setup to recast the spell on the player every 30 seconds while inside the defined zone ID.

Thanks @JadaDev for sharing the idea and spell id with me!
 
Liked By 2 members :

JadaDev

reaper-wow.com
Legend
JadaDev Rep
5
0
0
Rep
5
JadaDev Vouches
0
0
0
Vouches
0
Posts
514
Likes
509
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 11 100 XP
Thanks guys! :D

I updated the script, so you can no longer define your own speed. Instead It will cast a hidden spell ID on the player that will slightly boost their speed for about 50 seconds. But the script is setup to recast the spell on the player every 30 seconds while inside the defined zone ID.

Thanks @JadaDev for sharing the idea and spell id with me!
Go for the Next :D ❤️
 

Reloac

Active member
Reloac Rep
2
0
0
Rep
2
Reloac Vouches
0
0
0
Vouches
0
Posts
42
Likes
31
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 55 XP
I don't think you should remove all events on zone update. Looks like you can use RemoveEventById, and RegisterEvent returns the eventId, but need to make a container with player guid, and the eventId.

Also the aura should probably be removed on zone change.

Wouldn't this script be better fitted in spell_area in world database anyway?
 
Liked By 1 member :

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
I don't think you should remove all events on zone update. Looks like you can use RemoveEventById, and RegisterEvent returns the eventId, but need to make a container with player guid, and the eventId.

Also the aura should probably be removed on zone change.

Wouldn't this script be better fitted in spell_area in world database anyway?
You bring up some good points, I'll update the script later today. :) I'm just learning Lua mostly only for Eluna, but looking to improve.
 
Liked By 2 members :

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
Liked By 1 member :

Reloac

Active member
Reloac Rep
2
0
0
Rep
2
Reloac Vouches
0
0
0
Vouches
0
Posts
42
Likes
31
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 55 XP
The update, when does it cancel the event? When you keep re-entering the zone won't infinite events be made?
 

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
The update, when does it cancel the event? When you keep re-entering the zone won't infinite events be made?

Oh right, lmao. I forgot to remove the event. Thanks for the feedback! :D I'll work on removing event by ID. :D
 

3,384

1,270

9,554

428

Top