Hey I created a script where you can fly and also land. This is useful when you put him in an arena and seal off the arena
Next all you have to do is create a creature with the Entry ID of 75331 or change it in the Script.I highlighted in red what you could change.Code:function On_gossip(unit, event, player) Unit:GossipCreateMenu(50, player, 0) unit:GossipMenuAddItem(0, "Fly", 3, 0) unit:GossipMenuAddItem(0, "Land", 4, 0) unit:GossipSendMenu(player) end function Gossip_Submenus(unit, event, player, id, intid, code) if(intid == 3) then Player:SetFlying() end if(intid == 4) then Player:Land() end end RegisterUnitGossipEvent(75331, 1, "On_Gossip") RegisterUnitGossipEvent(75331, 2, "Gossip_Submenus")
~Little Tutorial of how to use LUA scripts:
1. Copy 'n Paste whats in the code onto a notepad.
2. Save it as Fly and land.lua
3. Move the file to C:/Your Server/Scripts/
4. Make sure in you C:/Your Server/Script_Bin/ you have Lua Scripting.cpp
5. Make a creature with an Entry ID of 75331
6. Restart your server and spawn him
7. Enjoy


Likes: 

shadowslayer133



Reply With Quote
runiker

for the thought behind this.
Bookmarks