Scripting LUA 101 menu

User Tag List

Page 3 of 9 FirstFirst 1234567 ... LastLast
Results 31 to 45 of 132
  1. #31
    damon160's Avatar Member
    Reputation
    8
    Join Date
    Oct 2007
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice and easy to read +Rep

    Scripting LUA 101
  2. #32
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Appeciated.

  3. #33
    Appled's Avatar Contributor
    Reputation
    105
    Join Date
    Apr 2007
    Posts
    568
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can do mob doing something if he got ex. 75% hp left :O with lua ofc

  4. #34
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Will be adding more content later this week after I finish up my Mulgore scripts

  5. #35
    zztuf's Avatar Member
    Reputation
    11
    Join Date
    Apr 2007
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great guide !

  6. #36
    azeon's Avatar Banned
    Reputation
    29
    Join Date
    Sep 2007
    Posts
    163
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx! i finly understand a bit of lua :bowdown: :yourock2:

  7. #37
    newfang's Avatar Master Sergeant
    Reputation
    19
    Join Date
    Oct 2007
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Best guide ever =0
    I learned this in about 5 hours. =/

  8. #38
    matser's Avatar Active Member
    Reputation
    37
    Join Date
    Nov 2007
    Posts
    191
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need help with that thing to save the document plz

  9. #39
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do File>Save As
    Myscriptname.lua
    Save as type: All files (you will select from drop down menu

  10. #40
    Herleybob's Avatar Contributor
    Reputation
    178
    Join Date
    Jul 2007
    Posts
    663
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to make it if you get in range of the NPC, it will say something and cast a spell on you?

    Nom Nom Nom :P

  11. #41
    anima7223's Avatar Member
    Reputation
    8
    Join Date
    Apr 2008
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nm, found out my problem, forgot to add in a couple words. Thanks for making this awesome guide man.
    Last edited by anima7223; 04-10-2008 at 01:20 AM.

  12. #42
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem thanks for the comment
    @herleybob - Yes. Use the 10 = Player Enters Range one....
    So you could do it like this:
    function NPCname_Phaseorfunction (pUnit, Event)
    pUnit:SendChatMessage(Type, Language, "Message")
    pUnit:CastSpell(SPELLID, pTarget())
    end
    RegisterUnitEvent (10000, 10, "NPCname_Phaseorfunction")

    enjoy!

  13. #43
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bump of doom

  14. #44
    castitatis's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And how would you go about making it so teh boss casts a spell every few min, like lets say I have a mage boss and want it to continually cast firebolts ever min/30 sec at players instead of had health%

  15. #45
    Falor's Avatar Member
    Reputation
    9
    Join Date
    May 2007
    Posts
    201
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Romuville View Post
    How can do mob doing something if he got ex. 75% hp left :O with lua ofc
    I think that you want to put
    Code:
    function NPCname_Phaseorfunction (pUnit, Event)
    if pUnit:GetHealthPct() < {persent} then
    {any thing you want goes here}
    end
    end
    RegisterUnitEvent (10000, 1, "NPCname_Phaseorfunction")
    PLEASE NOTE

    at the end you have to have two ends and then
    Last edited by Falor; 04-14-2008 at 06:13 PM.

Page 3 of 9 FirstFirst 1234567 ... LastLast

Similar Threads

  1. [Release] My Custom boss script (LUA)
    By Nilrac in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-17-2008, 03:57 AM
  2. [share] mini-tut on gossip scripts lua
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 05-29-2008, 05:11 AM
  3. Need help with my script [lua]
    By Satzen in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-18-2008, 05:19 PM
  4. [Guide] Troubleshooting LUA 101
    By EcHoEs in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 04-10-2008, 08:23 AM
  5. script lua question
    By onilank in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-21-2007, 06:58 PM
All times are GMT -5. The time now is 05:45 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search