A Simple Lua Request menu

User Tag List

Results 1 to 5 of 5
  1. #1
    xpxd's Avatar Member
    Reputation
    18
    Join Date
    Sep 2008
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A Simple Lua Request

    Well i Wated to ask you people at mmowned which i know out there there are alot of expert LUA scripters here so i wanted to ask you a favor...

    could sombody with pretty advance knowledge in lua make a .txt file with all this kind of commands/code

    example

    Code:
    if(intid == 5)
    player:LearnSpell
    unit:FullCastSpellOnTarget
    player:AddItem (or something like this)
    Well You Get it So I Want Somebody to Write All OF Those Commands LIke Fly, Demorph, and other interactive code
    I will +Rep who ever does it for me!!

    10X in advance

    A Simple Lua Request
  2. #2
    XxCyanidexX's Avatar Member
    Reputation
    56
    Join Date
    Nov 2008
    Posts
    138
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look in LuaFunctions.h in your trunk\src\scripts\luascripting.

  3. #3
    kaato's Avatar Member
    Reputation
    12
    Join Date
    Dec 2007
    Posts
    95
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did not make the list ^^

    Code:
    PlaySoundToSet(X) --> Plays a sound set X. (the sound is from NPC currently in the game, like Ragnaros)
    
    CastSpell(X) --> Makes the NPC instantly cast spell X on itself.
    
    FullCastSpell(X) --> Makes the NPC cast a spell (X) with casting time on itself.
    
    RemoveAura(X) --> Removes spell X from the NPC.
    
    SendChatMessage(X, XX, XXX) --> Displays a chat message. 
    X: A number that tells the NPC if its supposed to /yell, /say and the like.
    XX: If it is in a specific language (note: 0 is universal language)
    XXX: The desired text for the NPC to say.
    
    GetHealthPct() < X then --> If the NPC's health drops below X% a new event will begin if an event is included.
    
    RemoveEvents() --> Removes all current events from the NPC. (Use this if the NPC dies or leaves combat)
    
    SetModel(X) --> Changes the Units model into X
    
    SetScale(X) --> Changes the Units scale into X
    
    FullCastSpellOnTarget(X, pUnit:XX) --> Casts a spell on a target player.
    X: is the spellID
    You can put these as XX: 
    GetMainTank() casts spell X on the player with the highest aggro.
    GetRandomPlayer(0) casts spell X on a random player within range.
    GetAddTank() casts spell X on the player with the second highest threat. 
    
    ClearHateList() --> Resets the NPC's threat list
    
    :Despawn(X, XX) --> Despawns a mob after X miliseconds
    X: The amount of miliseconds before the mob despawns
    XX: The amount of miliseconds before it respawns
    
    :CastSpellAoF(X, Y, Z, <ID OF SPELL>) --> Makes an NPC cast a spell like Blizzard at a certain location.
    
    :GetName() : Returns the unit's name.
    :GetX() : Returns the unit's X position.
    :GetY() : Returns the unit's Y position.
    :GetZ() : Returns the unit's Z position.
    :GetO() : Returns the unit's orientation.
    :IsPlayer() : Returns true if the unit is a player, false otherwise.
    :IsCreature() : Returns true if the unit is a creature, false otherwise.
    :HasFinishedQuest(questID) : Returns true or false depending on if the quest has been completed.
    :GetItemCount(itemID) : Returns the number of the items a unit has.
    :GetUnitBySqlId(sqlID) : Returns a unit from the sql ID.
    :GetClosestPlayer() : Returns the nearest in-range unit that is a player.
    :GetRandomPlayer(flags) : Returns a random in-range unit that is a player.
    :GetRandomFriend() : Returns a random in-range unit that is a player and is friendly towards the current player.
    :GetMainTank() : Returns the main tank (most hated).
    :GetAddTank() : Returns the add tank (second most hated).
    :GetTauntedBy() : Returns the player that taunted the unit.
    :GetSoulLinkedWith() : Returns the unit that is set as the soul link for this unit.
    
    :RegisterEvent() :
    :SendBroadcastMessage(message) :
    :SendAreaTriggerMessage(message) :
    :MoveTo(x, y, z, o) : Moves the unit to the specified position.
    :SpawnGameObject(entryID, x, y, z, o, duration) : Spawns a gameobject at the specified position, despawning after duration milliseconds.
    :SpawnCreature(entryID, x, y, z, o, faction, duration) : Spawns a creature at a position with specified faction, despawning after duration milliseconds.
    :KnockBack(dx, dy, affect1, affect2) :
    :MarkQuestObjectiveAsComplete(questID, objective) : Marks an objective of a quest as complete.
    :LearnSpell(spellID) : Adds a spell to a unit.
    :UnlearnSpell(spellID) : Removes a spell from a unit.
    :StopMovement(time) : Stops a unit from moving for time milliseconds.
    :Emote(emoteID) : Tells a unit to perform an emote.
    :AddItem(itemID, count) : Adds a quantity of items to a unit.
    :RemoveItem(itemID, count) : Removes a quantity of items from a unit.
    :CreateCustomWaypointMap() : Creates a custom waypoint map.
    :CreateWaypoint(x, y, z, o, waitTime, flags, modelID) : Adds a waypoint to the custom waypoint map.
    :DestroyCustomWaypointMap() : Destroys a created custom waypoint map.
    :MoveToWaypoint(waypointID) : Tells a unit to move to a particular waypoint.
    :SetMovementType(movementType) :
    :SetCombatCapable(value) : If value is 1 the unit cannot attack.
    :SetHealthPct(value) : Sets the unit's health percentage.
    :SetNPCFlags(flags) : Sets the NPC flags of a unit.
    :SetFaction(factionID) : Sets the faction of a unit.
    :SetTauntedBy(unit) : Sets the unit that taunted the current unit.
    :SetSoulLinkedWith(unit) : Sets the unit that is soul linked with this unit.
    :ClearHateList() : Sets the highest hate/threat to one the hate list.
    :WipeTargetList() : Clears the target list.
    :WipeCurrentTarget() : Clears the current target and targets the next highest threat.
    :GetPlayerClass() : Gets the class of current target.
    :SetFieldFlags() : Sets flags for current unit.
    Source: AC-Web i think (was on my hdd :P)
    https://nordicwow.servegame.com/ +Rep

  4. #4
    xpxd's Avatar Member
    Reputation
    18
    Join Date
    Sep 2008
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the list you gave me was very helpfull but i didnt mean that i mean the player interactive commands

    setmodel
    additem
    learnspell
    ^
    |
    Those |

  5. #5
    xpxd's Avatar Member
    Reputation
    18
    Join Date
    Sep 2008
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    even if those that are on the list obeve some of them are there but how abou tdemorph and fly and other things

Similar Threads

  1. [Request] Some simple LUA
    By FattyXP in forum WoW UI, Macros and Talent Specs
    Replies: 5
    Last Post: 07-30-2014, 02:01 AM
  2. [Request or Help] Simple LUA Item
    By freeride474 in forum WoW EMU Questions & Requests
    Replies: 9
    Last Post: 04-11-2010, 10:06 AM
  3. [Request] I need this simple lua
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-29-2008, 03:18 PM
  4. [Reqest] Very simple Moonkin request!
    By ladyshiva in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 11-28-2007, 07:55 AM
  5. Very simple reskin request!
    By Hakosa in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 05-02-2007, 07:34 AM
All times are GMT -5. The time now is 04:12 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search