[Service] Doing LUA requests menu

Shout-Out

User Tag List

Page 9 of 11 FirstFirst ... 567891011 LastLast
Results 121 to 135 of 154
  1. #121
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if its a teleporter npc.. u could try read thread: :were on page 7
    Code:
    local npcid = 500001 function WarpNPC_OnGossipTalk(pUnit, event, player, pMisc) pUnit:GossipCreateMenu(100, player, 0) pUnit:GossipMenuAddItem(0, "Alliance Cities", 1, 0) pUnit:GossipMenuAddItem(0, "Horde Cities", 2, 0) pUnit:GossipMenuAddItem(0, "Outland Locations", 3, 0) pUnit:GossipMenuAddItem(0, "Instances", 4, 0) pUnit:GossipMenuAddItem(5, "Buff me up.", 57, 0) pUnit:GossipMenuAddItem(9, "Remove Rez Sickness", 58, 0) pUnit:GossipSendMenu(player) end function WarpNPC_OnGossipSelect(pUnit, event, player, id, intid, code, pMisc) if (intid == 1) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(2, "Stormwind", 9, 0) pUnit:GossipMenuAddItem(2, "Ironforge", 10, 0) pUnit:GossipMenuAddItem(2, "Darnassus", 11, 0) pUnit:GossipMenuAddItem(2, "Exodar", 12, 0) pUnit:GossipSendMenu(player) end if (intid == 2) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(2, "Orgrimmar", 5, 0) pUnit:GossipMenuAddItem(2, "Undercity", 6, 0) pUnit:GossipMenuAddItem(2, "Thunder Bluff", 7, 0) pUnit:GossipMenuAddItem(2, "Silvermoon", 8, 0) pUnit:GossipSendMenu(player) end if (intid == 3) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(2, "Shattrath", 13, 0) pUnit:GossipMenuAddItem(2, "Blade's Edge Mountains", 53, 0) pUnit:GossipMenuAddItem(2, "Hellfire Peninsula/The Dark Portal", 50, 0) pUnit:GossipMenuAddItem(2, "Nagrand", 52, 0) pUnit:GossipMenuAddItem(2, "Netherstorm", 54, 0) pUnit:GossipMenuAddItem(2, "Shadowmoon Valley", 55, 0) pUnit:GossipMenuAddItem(2, "Terokkar Forest", 51, 0) pUnit:GossipMenuAddItem(2, "Zangarmarsh", 56, 0) pUnit:GossipSendMenu(player) end if (intid == 4) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(0, "Eastern Kingdom Instances", 14, 0) pUnit:GossipMenuAddItem(0, "Kalimdor Instances", 15, 0) pUnit:GossipMenuAddItem(0, "Outland Instances", 16, 0) pUnit:GossipSendMenu(player) end if (intid == 14) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(2, "Blackrock Mountains", 17, 0) pUnit:GossipMenuAddItem(2, "The Deadmines", 18, 0) pUnit:GossipMenuAddItem(2, "Gnomeregan", 19, 0) pUnit:GossipMenuAddItem(2, "Karazhan", 20, 0) pUnit:GossipMenuAddItem(2, "Naxxramas", 22, 0) pUnit:GossipMenuAddItem(2, "Scholomance", 23, 0) pUnit:GossipMenuAddItem(2, "Shadowfang Keep", 24, 0) pUnit:GossipMenuAddItem(2, "Scarlet Monastery", 25, 0) pUnit:GossipMenuAddItem(2, "The Stockade", 26, 0) pUnit:GossipMenuAddItem(2, "Stratholme", 27, 0) pUnit:GossipMenuAddItem(2, "The Sunken Temple", 28, 0) pUnit:GossipMenuAddItem(2, "Uldaman", 30, 0) pUnit:GossipMenuAddItem(2, "Zul'Gurub", 32, 0) pUnit:GossipSendMenu(player) end if (intid == 15) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(2, "Ahn'Qiraj", 33, 0) pUnit:GossipMenuAddItem(2, "Blackfathom Deeps", 34, 0) pUnit:GossipMenuAddItem(2, "Caverns of Time", 35, 0) pUnit:GossipMenuAddItem(2, "Dire Maul", 36, 0) pUnit:GossipMenuAddItem(2, "Maraudon", 37, 0) pUnit:GossipMenuAddItem(2, "Onyxia's Lair", 38, 0) pUnit:GossipMenuAddItem(2, "Ragefire Chasm", 39, 0) pUnit:GossipMenuAddItem(2, "Razorfen Downs", 40, 0) pUnit:GossipMenuAddItem(2, "Razorfen Kraul", 41, 0) pUnit:GossipMenuAddItem(2, "Wailing Caverns", 42, 0) pUnit:GossipMenuAddItem(2, "Zul'Farrak", 43, 0) pUnit:GossipSendMenu(player) end if (intid == 16) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(2, "Auchindoun", 44, 0) pUnit:GossipMenuAddItem(2, "Black Temple", 45, 0) pUnit:GossipMenuAddItem(2, "Coilfang Reservoir", 46, 0) pUnit:GossipMenuAddItem(2, "Gruul's Lair", 47, 0) pUnit:GossipMenuAddItem(2, "Hellfire Citadel", 48, 0) pUnit:GossipMenuAddItem(2, "Magisters' Terrace", 21, 0) pUnit:GossipMenuAddItem(2, "Tempest Keep", 49, 0) pUnit:GossipMenuAddItem(2, "Sunwell Plateau", 29, 0) pUnit:GossipMenuAddItem(2, "Zul'Aman", 31, 0) pUnit:GossipSendMenu(player) end if (intid == 57) then pUnit:GossipCreateMenu(99, player, 0) pUnit:GossipMenuAddItem(3, "Agility", 59, 0) pUnit:GossipMenuAddItem(3, "Intellect", 60, 0) pUnit:GossipMenuAddItem(3, "Protection", 61, 0) pUnit:GossipMenuAddItem(3, "Spirit", 62, 0) pUnit:GossipMenuAddItem(3, "Stamina", 63, 0) pUnit:GossipMenuAddItem(3, "Strength", 64, 0) pUnit:GossipSendMenu(player) end if (intid == 5) then player:Teleport(1, 1371.068970, -4370.801758, 26.052483) -- Orgrimmar end if (intid == 6) then player:Teleport(0, 2050.203125, 285.650604, 56.994549) -- Undercity end if (intid == 7) then player:Teleport(1, -1304.569946, 205.285004, 68.681396) -- Thunderbluff end if (intid == 8) then player:Teleport(530, 9400.486328, -7278.376953, 14.206780) -- Silvermoon end if (intid == 9) then player:Teleport(0, -9100.480469, 406.950745, 92.594185) -- Stormwind end if (intid == 10) then player:Teleport(0, -5028.265137, -825.976563, 495.301575) -- Ironforge end if (intid == 11) then player:Teleport(1, 9985.907227, 1971.155640, 1326.815674) -- Darnassus end if (intid == 12) then player:Teleport(530, -4072.202393, -12014.337891, -1.277277) -- Exodar end if (intid == 13) then player:Teleport(530, -1887.510010, 5359.379883, -12.427300) -- Shattrath end if (intid == 17) then player:Teleport(0, -7491.719238, -1074.845947, 265.089935) -- Blackrock Mountains end if (intid == 18) then player:Teleport(0, -11067.506836, 1527.711304, 43.282364) -- The Deadmines end if (intid == 19) then player:Teleport(0, -5182.464355, 607.487427, 408.965881) -- Gnomeregan end if (intid == 20) then player:Teleport(0, -11121.247070, -2012.714355, 47.096985) -- Karazahn end if (intid == 21) then player:Teleport(530, 12889.763672, -7326.697266, 65.491798) -- Magisters' Terrace end if (intid == 22) then player:Teleport(0, 3164.131592, -3747.983887, 132.852615) -- Naxxramas end if (intid == 23) then player:Teleport(0, 1230.314575, -2599.220703, 88.976143) -- Scholomance end if (intid == 24) then player:Teleport(0, -246.683914, 1532.607666, 77.124901) -- Shadowfang Keep end if (intid == 25) then player:Teleport(0, 2843.495605, -692.977295, 139.330276) -- Scarlet Monastery end if (intid == 26) then player:Teleport(0, -8772.176758, 840.297913, 91.003372) -- The Stockade end if (intid == 27) then player:Teleport(0, 3343.937744, -3379.550781, 144.775574) -- Stratholme end if (intid == 28) then player:Teleport(0, -10449.789063, -3823.687988, 18.066645) -- The Sunken Temple end if (intid == 29) then player:Teleport(530, 12588.159180, -6775.057617, 15.091800) -- Sunwell Plateau end if (intid == 30) then player:Teleport(0, -6071.516133, -2955.536377, 209.783035) -- Uldaman end if (intid == 31) then player:Teleport(530, 6851.177246, -7946.305664, 170) -- Zul'Aman end if (intid == 32) then player:Teleport(0, -11915.947266, -1187.432007, 85.137840) -- Zul'Gurub end if (intid == 33) then player:Teleport(1, -8166.177734, 1531.099487, 4.195099) -- Ahn'Qiraj end if (intid == 34) then player:Teleport(1, 4247.057129, 741.940735, -25.184605) -- Blackfathom Deeps end if (intid == 35) then player:Teleport(1, -8369.945313, -4253.909820, -204.333389) -- Caverns of Time end if (intid == 36) then player:Teleport(1, -3520.068848, 1113.661337, 161.026123) -- Dire Maul end if (intid == 37) then player:Teleport(1, -1421.904297, 2910.345703, 137.410583) -- Maraudon end if (intid == 38) then player:Teleport(1, -4672.532227, -3702.960693, 46.147873) -- Onyxia's Lair end if (intid == 39) then player:Teleport(1, 1809.329834, -4404.645508, -18.714394) -- Ragfire Chasm end if (intid == 40) then player:Teleport(1, -4651.700684, -2500.510254, 81.400879) -- Razorfen Downs end if (intid == 41) then player:Teleport(1, -4473.704102, -1683.995361, 80.525322) -- Razorfen Kraul end if (intid == 42) then player:Teleport(1, -740.448181, -2215.664063, 16.156469) -- Wailing Caverns end if (intid == 43) then player:Teleport(1, -6808.160645, -2890.859131, 8.885407) -- Zul'Farrak end if (intid == 44) then player:Teleport(530, -3329.651855, 4936.043457, -90.39930) -- Auchindoun end if (intid == 45) then player:Teleport(530, -3624.857910, 315.062836, 38.903099) -- Black Temple end if (intid == 46) then player:Teleport(530, 730.947876, 6866.012695, -70.749023) -- Coilfang Reservoir end if (intid == 47) then player:Teleport(530, 3523.798340, 5153.760742, -1.424888) -- Gruul's Lair end if (intid == 48) then player:Teleport(530, -575.380798, 3119.677734, 5.5155335) -- Hellfire Citadel end if (intid == 49) then player:Teleport(530, 3098.487793, 1513.052124, 190.300110) -- Tempest Keep end if (intid == 50) then player:Teleport(530, -248.431702, 939.013367, 84.379822) -- Hellfire Peninsula/ The Dark Portal end if (intid == 51) then player:Teleport(530, -1176.588989, 5336.273926, 29.897034) -- Terokkar Forest end if (intid == 52) then player:Teleport(530, -526, 8440, 47.426472) -- Nagrand end if (intid == 53) then player:Teleport(530, 1114.010254, 7090.967285, 122.127274) -- Blade's Edge Mountains end if (intid == 54) then player:Teleport(530, 2315.689209, 2535.836670, 119.271622) -- Netherstorm end if (intid == 55) then player:Teleport(530, -2847.810791, 3190.677246, 8.136728) -- Shadowmoon Valley end if (intid == 56) then player:Teleport(530, 30.284981, 6983.303711, 148.666779) -- Zangarmarsh end if (intid == 58) then player:LearnSpell(15007) -- Remove Resurrection Sickness player:UnlearnSpell(15007) pUnit:SendChatMessage(12, 0, "Nub...lulz") pUnit:GossipComplete(player) end if (intid == 59) then pUnit:CastSpellOnTarget(33077, player) pUnit:GossipComplete(player) end if (intid == 60) then pUnit:CastSpellOnTarget(33078, player) pUnit:GossipComplete(player) end if (intid == 61) then pUnit:CastSpellOnTarget(33079, player) pUnit:GossipComplete(player) end if (intid == 62) then pUnit:CastSpellOnTarget(33080, player) pUnit:GossipComplete(player) end if (intid == 63) then pUnit:CastSpellOnTarget(33081, player) pUnit:GossipComplete(player) end if (intid == 64) then pUnit:CastSpellOnTarget(33082, player) pUnit:GossipComplete(player) end end RegisterUnitGossipEvent(npcid, 1, "WarpNPC_OnGossipTalk") RegisterUnitGossipEvent(npcid, 2, "WarpNPC_OnGossipSelect")
    Credits go to Kyle102092 (Board Message)
    Last edited by Exacute; 09-29-2008 at 09:45 AM.
    [/COLOR]

    [Service] Doing LUA requests
  2. #122
    Babbaa's Avatar Member
    Reputation
    32
    Join Date
    Nov 2007
    Posts
    206
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Embed it with CODE tags, please.

  3. #123
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    happy? :S
    ZZZZZZZ
    [/COLOR]

  4. #124
    Lukas 45's Avatar Active Member
    Reputation
    43
    Join Date
    Jan 2008
    Posts
    559
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ey m8! Is it posseble to make L70ETC to make them doing there custom animations?
    Im not sure its a LUA scripting, but you can try If you do... I will be so HAPPY!!!

  5. #125
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That were a easy one if i understand u right..
    INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Frank', 'My Chemical Romance', '', '0', '0', '1', '21662', '0', '0', NULL, '50899');
    INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('150', '150', '35', '9000', '109000', '100', '1', '0', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '50899');
    INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Ray', 'My Chemical Romance', '', '0', '0', '1', '21659', '0', '0', NULL, '50898');
    INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('150', '150', '35', '9000', '109000', '100', '1', '0', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '50898');
    INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Gerad', 'My Chemical Romance', '', '0', '0', '1', '21665', '0', '0', NULL, '50897');
    INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('150', '150', '35', '9000', '109000', '100', '1', '0', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '50897');
    INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Bob', 'My Chemical Romance', '', '0', '0', '1', '21661', '0', '0', NULL, '50896');
    INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('150', '150', '35', '9000', '109000', '100', '1', '0', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '50896');
    INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Mikey', 'My Chemical Romance', '', '0', '0', '1', '21666', '0', '0', NULL, '50895');
    INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('150', '150', '35', '9000', '109000', '100', '1', '0', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '50895');
    that SQL is for the mobs.. a little difference from the normal L70ETC, that this is made as a MCR version.. this means same displays, but different names.. u can just change the names if u want
    [/COLOR]

  6. #126
    Lukas 45's Avatar Active Member
    Reputation
    43
    Join Date
    Jan 2008
    Posts
    559
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Exacute View Post
    That were a easy one if i understand u right..

    that SQL is for the mobs.. a little difference from the normal L70ETC, that this is made as a MCR version.. this means same displays, but different names.. u can just change the names if u want
    Oh thx m8 so much I will +Rep you if it works Gonna test it now

  7. #127
    Lukas 45's Avatar Active Member
    Reputation
    43
    Join Date
    Jan 2008
    Posts
    559
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dont think you understand me right. As you know the band have other animation then the local one. The can do other animations, but how? Maybe is it a LUA script but i dont know

  8. #128
    Lukas 45's Avatar Active Member
    Reputation
    43
    Join Date
    Jan 2008
    Posts
    559
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got a new idea.

    Name: Sin'Jin

    Idea: Fights

    Function:
    Enter combat: "You want to fight da trolls?"
    Every 10 sec Herioc Strike
    Every min Mortal Strike
    At 95/90/85/80/75/70/65/60/55/50/45% Cleave
    50% Enrage(Enrage - Spell - World of Warcraft), Yells: "Now you makeing me angry mon!"
    25% Enrage(Enrage - Spell - World of Warcraft), Yells: "You have fight da trolls to much! Now ya shall fall!"
    10% Transform into id: 23090 + Enrage Enrage - Spell - World of Warcraft and Yell: "Die now or my spirit will hunt you da rest of ya life!"
    5% Out of transform
    4% Cast Devine Shield, Yell: "How will you get me now mon?!", heal to 10% health. Devine Shield fades.
    10% Enrage.
    4% Stun all with spell ID: 40647, say: "Im begging to be weak mon! If ya want me to die! Then slay me first mon!", Enrage when out of Stun, Cast spell ID 35785 on self.
    2% Yells "When im down! Da trolls shall take over the world!"
    Dead: Yells: "Da trolls ... Shall ... take over ... da ... world!"

    10 sec after: 10 trolls spawns and begin to fight(I make them in my DB. There ID will be 99998

    Dont hope its to much hard work Hope to hear from you

  9. #129
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    animations= how the NPCs move.. like chief-thunder is smashing on his drums.. thats animation..
    as for your request i will soon look into it.. BUT please write ALL spells he will use from ID.. aint going to search for them first


    EDIT: here it are.. toke a bit time..
    ---------------------------------------------------------------------
    ----------------------[Da_troll Script Body]-------------------------
    ---------------------------------------------------------------------
    function Da_troll_Combat(pUnit, Event)
    pUnit:PlaySoundToSet(11332)
    pUnit:SendChatMessage(11, 0, "You want to fight da trolls?")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase2", 1000, 0)
    end

    function Da_troll_CurseOfVitality(pUnit, Event)
    pUnit:PlaySoundToSet(11335)
    pUnit:SendChatMessage(12, 0, "Kirel narok!.")
    pUnit:FullCastSpellOnTarget(29567, pUnit:GetRandomPlayer(0))
    end

    function Da_troll_MindBlast(pUnit, Event)
    pUnit:PlaySoundToSet(11334)
    pUnit:SendChatMessage(12, 0, "All mortals will perish!")
    pUnit:FullCastSpellOnTarget(41374, pUnit:GetRandomPlayer(0))
    end

    function Da_troll_Phase2(pUnit,Event)
    if pUnit:GetHealthPct() <= 95 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase3", 1000, 0)
    end

    function Da_troll_Phase3(pUnit,Event)
    if pUnit:GetHealthPct() <= 90 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase4", 1000, 0)
    end
    function Da_troll_Phase4(pUnit,Event)
    if pUnit:GetHealthPct() <= 85 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase5", 1000, 0)
    end

    function Da_troll_Phase5(pUnit,Event)
    if pUnit:GetHealthPct() <= 80 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase6", 1000, 0)
    end

    function Da_troll_Phase6(pUnit,Event)
    if pUnit:GetHealthPct() <= 75 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase7", 1000, 0)
    end

    function Da_troll_Phase7(pUnit,Event)
    if pUnit:GetHealthPct() <= 70 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase8", 1000, 0)
    end

    function Da_troll_Phase8(pUnit,Event)
    if pUnit:GetHealthPct() <= 65 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase9", 1000, 0)
    end

    function Da_troll_Phase9(pUnit,Event)
    if pUnit:GetHealthPct() <= 60 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase10", 1000, 0)
    end

    function Da_troll_Phase10(pUnit,Event)
    if pUnit:GetHealthPct() <= 55 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase11", 1000, 0)
    end

    function Da_troll_Phase11(pUnit,Event)
    if pUnit:GetHealthPct() <= 50 then
    pUnit:RemoveEvents()
    pUnit:CastSpell(40683)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:PlaySoundToSet(12021)
    pUnit:SendChatMessage(12,0,"I fight wit' untamed spirit...")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase12", 1000, 0)
    end

    function Da_troll_Phase12(pUnit,Event)
    if pUnit:GetHealthPct() <= 45 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase13", 1000, 0)
    end

    function Da_troll_Phase13(pUnit,Event)
    if pUnit:GetHealthPct() <= 40 then
    pUnit:RemoveEvents()
    pUnit:PlaySoundToSet(11335)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(12, 0, "All life will be eradicated!")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase14", 1000, 0)
    end

    function Da_troll_Phase14(pUnit,Event)
    if pUnit:GetHealthPct() <= 25 then
    pUnit:RemoveEvents()
    pUnit:CastSpell(40683)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:PlaySoundToSet(12021)
    pUnit:SendChatMessage(12,0,"I fight wit' untamed spirit...")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase15", 1000, 0)
    end

    function Da_troll_Phase16(pUnit,Event)
    if pUnit:GetHealthPct() <= 10 then
    pUnit:RemoveEvents()
    pUnit:CastSpell(40683)
    pUnit:SetModel(23090)
    pUnit:CastSpell(38533)
    pUnit:CastSpell(38533)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:PlaySoundToSet(12022)
    pUnit:SendChatMessage(12,0,"Spirit! Come back to me...")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase17", 1000, 0)
    end

    function Da_troll_Phase17(pUnit,Event)
    if pUnit:GetHealthPct() <= 4 then
    pUnit:RemoveEvents()
    pUnit:CastSpell(1020)
    pUnit:CastSpell(29564)
    pUnit:CastSpell(29564)
    pUnit:CastSpell(29564)
    pUnit:CastSpell(29564)
    pUnit:CastSpell(38533)
    pUnit:CastSpell(38533)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    Unit:SendChatMessage(12,0,"You gonna fail!")
    Unit:PlaySoundToSet(12027)
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase18", 1000, 0)
    end

    function Da_troll_Phase18(pUnit,Event)
    if pUnit:GetHealthPct() <= 10 then
    pUnit:RemoveEvents()
    pUnit:CastSpell(40683)
    pUnit:SetModel(23090)
    pUnit:CastSpell(38533)
    pUnit:CastSpell(38533)
    pUnit:FullCastSpellOnTarget(31345, pUnit:GetRandomPlayer(0))
    pUnit:PlaySoundToSet(12022)
    pUnit:SendChatMessage(12,0,"Spirit! Come back to me...")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase19", 1000, 0)
    end

    function Da_troll_Phase19(pUnit,Event)
    if pUnit:GetHealthPct() <= 4 then
    pUnit:RemoveEvents()
    pUnit:CastSpell(40647)
    pUnit:FullCastSpellOnTarget(40647, pUnit:GetRandomPlayer(0))
    pUnit:CastSpell(40647)
    pUnit:PlaySoundToSet(50)
    pUnit:SendChatMessage(12,0,"Spirit! Come back to me...")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    pUnit:RegisterEvent("Da_troll_Phase20", 1000, 0)
    end

    function Da_troll_Phase20(pUnit,Event)
    if pUnit:GetHealthPct() <= 2 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(12,0,"When im down! Da trolls shall take over the world")
    pUnit:RegisterEvent("Da_troll_CurseOfVitality", 10000, 0)
    pUnit:RegisterEvent("Da_troll_MindBlast", 60000, 0)
    end
    ---------------------------------------------------------------------
    ------------------------------[Restarts]-----------------------------
    ---------------------------------------------------------------------
    function Da_troll_Leave(pUnit,Event)
    pUnit:RemoveEvents()
    end

    function Da_troll_OnKill(Unit, event)
    Killchoice=math.random()
    if Killchoice > .5 then
    Unit:SendChatMessage(12,0,"Ya can't fight da power!")
    Unit:PlaySoundToSet(12026)
    else
    Unit:SendChatMessage(12,0,"You gonna fail!")
    Unit:PlaySoundToSet(12027)
    end
    end

    function Da_troll_onDie(pUnit,Event)
    pUnit:SendChatMessage(12, 0, "Da trolls ... Shall ... take over ... da ... world!")
    local x = pUnit:GetX();
    local y = pUnit:GetY();
    local z = pUnit:GetZ();
    local o = pUnit:GetO();
    pUnit:SpawnCreature(99998, x + 2, y + 5, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 4, y + 5, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 6, y + 5, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 8, y + 5, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 6, y + 2, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 6, y + 4, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 6, y + 6, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 6, y + 8, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 3, y + 4, z + 1, o, 17, 30000)
    pUnit:SpawnCreature(99998, x + 1, y + 4, z + 1, o, 17, 30000)
    end
    end
    end
    ---------------------------------------------------------------------
    -------------------------[Restart Registers]----------------------
    ---------------------------------------------------------------------
    RegisterUnitEvent(99999, 1, "Da_troll_Combat")
    RegisterUnitEvent(99999, 2, "Da_troll_Leave")
    RegisterUnitEvent(99999, 3, "Da_troll_Kill")
    RegisterUnitEvent(99999, 4, "Da_troll_onDie")
    Last edited by Exacute; 09-30-2008 at 12:05 PM.
    [/COLOR]

  10. #130
    Lukas 45's Avatar Active Member
    Reputation
    43
    Join Date
    Jan 2008
    Posts
    559
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wohooo!! Very nice. Gonna test it. +Rep if works

    PS: Could you try to make the band? Then 2x rep in all

  11. #131
    Lukas 45's Avatar Active Member
    Reputation
    43
    Join Date
    Jan 2008
    Posts
    559
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What shall i call the LUA`?
    It wont work right now

  12. #132
    Lukas 45's Avatar Active Member
    Reputation
    43
    Join Date
    Jan 2008
    Posts
    559
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm just a sec m8 :P Im sure the srcripts is working... But what shall i call them in the LUA?

  13. #133
    Babbaa's Avatar Member
    Reputation
    32
    Join Date
    Nov 2007
    Posts
    206
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dude.. Don't triple post.
    Learn to edit your current one.

  14. #134
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /agree babaa
    Try jsut call it Da_troll.lua
    [/COLOR]

  15. #135
    Henka44's Avatar Active Member
    Reputation
    20
    Join Date
    Sep 2007
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ive copy+pasted
    Code:
    local npcid = 500001
     
    function WarpNPC_OnGossipTalk(pUnit, event, player, pMisc)
    pUnit:GossipCreateMenu(100, player, 0)
    pUnit:GossipMenuAddItem(0, "Alliance Cities", 1, 0)
    pUnit:GossipMenuAddItem(0, "Horde Cities", 2, 0)
    pUnit:GossipMenuAddItem(0, "Outland Locations", 3, 0)
    pUnit:GossipMenuAddItem(0, "Instances", 4, 0)
    pUnit:GossipMenuAddItem(5, "Buff me up.", 57, 0)
    pUnit:GossipMenuAddItem(9, "Remove Rez Sickness", 58, 0)
    pUnit:GossipSendMenu(player)
    end
     
    function WarpNPC_OnGossipSelect(pUnit, event, player, id, intid, code, pMisc)
    if (intid == 1) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(2, "Stormwind", 9, 0)
    pUnit:GossipMenuAddItem(2, "Ironforge", 10, 0)
    pUnit:GossipMenuAddItem(2, "Darnassus", 11, 0)
    pUnit:GossipMenuAddItem(2, "Exodar", 12, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 2) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(2, "Orgrimmar", 5, 0)
    pUnit:GossipMenuAddItem(2, "Undercity", 6, 0)
    pUnit:GossipMenuAddItem(2, "Thunder Bluff", 7, 0)
    pUnit:GossipMenuAddItem(2, "Silvermoon", 8, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 3) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(2, "Shattrath", 13, 0)
    pUnit:GossipMenuAddItem(2, "Blade's Edge Mountains", 53, 0)
    pUnit:GossipMenuAddItem(2, "Hellfire Peninsula/The Dark Portal", 50, 0)
    pUnit:GossipMenuAddItem(2, "Nagrand", 52, 0)
    pUnit:GossipMenuAddItem(2, "Netherstorm", 54, 0)
    pUnit:GossipMenuAddItem(2, "Shadowmoon Valley", 55, 0)
    pUnit:GossipMenuAddItem(2, "Terokkar Forest", 51, 0)
    pUnit:GossipMenuAddItem(2, "Zangarmarsh", 56, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 4) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(0, "Eastern Kingdom Instances", 14, 0)
    pUnit:GossipMenuAddItem(0, "Kalimdor Instances", 15, 0)
    pUnit:GossipMenuAddItem(0, "Outland Instances", 16, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 14) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(2, "Blackrock Mountains", 17, 0)
    pUnit:GossipMenuAddItem(2, "The Deadmines", 18, 0)
    pUnit:GossipMenuAddItem(2, "Gnomeregan", 19, 0)
    pUnit:GossipMenuAddItem(2, "Karazhan", 20, 0)
    pUnit:GossipMenuAddItem(2, "Naxxramas", 22, 0)
    pUnit:GossipMenuAddItem(2, "Scholomance", 23, 0)
    pUnit:GossipMenuAddItem(2, "Shadowfang Keep", 24, 0)
    pUnit:GossipMenuAddItem(2, "Scarlet Monastery", 25, 0)
    pUnit:GossipMenuAddItem(2, "The Stockade", 26, 0)
    pUnit:GossipMenuAddItem(2, "Stratholme", 27, 0)
    pUnit:GossipMenuAddItem(2, "The Sunken Temple", 28, 0)
    pUnit:GossipMenuAddItem(2, "Uldaman", 30, 0)
    pUnit:GossipMenuAddItem(2, "Zul'Gurub", 32, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 15) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(2, "Ahn'Qiraj", 33, 0)
    pUnit:GossipMenuAddItem(2, "Blackfathom Deeps", 34, 0)
    pUnit:GossipMenuAddItem(2, "Caverns of Time", 35, 0)
    pUnit:GossipMenuAddItem(2, "Dire Maul", 36, 0)
    pUnit:GossipMenuAddItem(2, "Maraudon", 37, 0)
    pUnit:GossipMenuAddItem(2, "Onyxia's Lair", 38, 0)
    pUnit:GossipMenuAddItem(2, "Ragefire Chasm", 39, 0)
    pUnit:GossipMenuAddItem(2, "Razorfen Downs", 40, 0)
    pUnit:GossipMenuAddItem(2, "Razorfen Kraul", 41, 0)
    pUnit:GossipMenuAddItem(2, "Wailing Caverns", 42, 0)
    pUnit:GossipMenuAddItem(2, "Zul'Farrak", 43, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 16) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(2, "Auchindoun", 44, 0)
    pUnit:GossipMenuAddItem(2, "Black Temple", 45, 0)
    pUnit:GossipMenuAddItem(2, "Coilfang Reservoir", 46, 0)
    pUnit:GossipMenuAddItem(2, "Gruul's Lair", 47, 0)
    pUnit:GossipMenuAddItem(2, "Hellfire Citadel", 48, 0)
    pUnit:GossipMenuAddItem(2, "Magisters' Terrace", 21, 0)
    pUnit:GossipMenuAddItem(2, "Tempest Keep", 49, 0)
    pUnit:GossipMenuAddItem(2, "Sunwell Plateau", 29, 0)
    pUnit:GossipMenuAddItem(2, "Zul'Aman", 31, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 57) then
    pUnit:GossipCreateMenu(99, player, 0)
    pUnit:GossipMenuAddItem(3, "Agility", 59, 0)
    pUnit:GossipMenuAddItem(3, "Intellect", 60, 0)
    pUnit:GossipMenuAddItem(3, "Protection", 61, 0)
    pUnit:GossipMenuAddItem(3, "Spirit", 62, 0)
    pUnit:GossipMenuAddItem(3, "Stamina", 63, 0)
    pUnit:GossipMenuAddItem(3, "Strength", 64, 0)
    pUnit:GossipSendMenu(player)
    end
    if (intid == 5) then
    player:Teleport(1, 1371.068970, -4370.801758, 26.052483) -- Orgrimmar
    end
    if (intid == 6) then
    player:Teleport(0, 2050.203125, 285.650604, 56.994549) -- Undercity
    end
    if (intid == 7) then
    player:Teleport(1, -1304.569946, 205.285004, 68.681396) -- Thunderbluff
    end
    if (intid == 8) then
    player:Teleport(530, 9400.486328, -7278.376953, 14.206780) -- Silvermoon
    end
    if (intid == 9) then
    player:Teleport(0, -9100.480469, 406.950745, 92.594185) -- Stormwind
    end
    if (intid == 10) then
    player:Teleport(0, -5028.265137, -825.976563, 495.301575) -- Ironforge
    end
    if (intid == 11) then
    player:Teleport(1, 9985.907227, 1971.155640, 1326.815674) -- Darnassus
    end
    if (intid == 12) then
    player:Teleport(530, -4072.202393, -12014.337891, -1.277277) -- Exodar
    end
    if (intid == 13) then
    player:Teleport(530, -1887.510010, 5359.379883, -12.427300) -- Shattrath
    end
    if (intid == 17) then
    player:Teleport(0, -7491.719238, -1074.845947, 265.089935) -- Blackrock Mountains
    end
    if (intid == 18) then
    player:Teleport(0, -11067.506836, 1527.711304, 43.282364) -- The Deadmines
    end
    if (intid == 19) then
    player:Teleport(0, -5182.464355, 607.487427, 408.965881) -- Gnomeregan
    end
    if (intid == 20) then
    player:Teleport(0, -11121.247070, -2012.714355, 47.096985) -- Karazahn
    end
    if (intid == 21) then
    player:Teleport(530, 12889.763672, -7326.697266, 65.491798) -- Magisters' Terrace
    end
    if (intid == 22) then
    player:Teleport(0, 3164.131592, -3747.983887, 132.852615) -- Naxxramas
    end
    if (intid == 23) then
    player:Teleport(0, 1230.314575, -2599.220703, 88.976143) -- Scholomance
    end
    if (intid == 24) then
    player:Teleport(0, -246.683914, 1532.607666, 77.124901) -- Shadowfang Keep
    end
    if (intid == 25) then
    player:Teleport(0, 2843.495605, -692.977295, 139.330276) -- Scarlet Monastery
    end
    if (intid == 26) then
    player:Teleport(0, -8772.176758, 840.297913, 91.003372) -- The Stockade
    end
    if (intid == 27) then
    player:Teleport(0, 3343.937744, -3379.550781, 144.775574) -- Stratholme
    end
    if (intid == 28) then
    player:Teleport(0, -10449.789063, -3823.687988, 18.066645) -- The Sunken Temple
    end
    if (intid == 29) then
    player:Teleport(530, 12588.159180, -6775.057617, 15.091800) -- Sunwell Plateau
    end
    if (intid == 30) then
    player:Teleport(0, -6071.516133, -2955.536377, 209.783035) -- Uldaman
    end
    if (intid == 31) then
    player:Teleport(530, 6851.177246, -7946.305664, 170) -- Zul'Aman
    end
    if (intid == 32) then
    player:Teleport(0, -11915.947266, -1187.432007, 85.137840) -- Zul'Gurub
    end
    if (intid == 33) then
    player:Teleport(1, -8166.177734, 1531.099487, 4.195099) -- Ahn'Qiraj
    end
    if (intid == 34) then
    player:Teleport(1, 4247.057129, 741.940735, -25.184605) -- Blackfathom Deeps
    end
    if (intid == 35) then
    player:Teleport(1, -8369.945313, -4253.909820, -204.333389) -- Caverns of Time
    end
    if (intid == 36) then
    player:Teleport(1, -3520.068848, 1113.661337, 161.026123) -- Dire Maul
    end
    if (intid == 37) then
    player:Teleport(1, -1421.904297, 2910.345703, 137.410583) -- Maraudon
    end
    if (intid == 38) then
    player:Teleport(1, -4672.532227, -3702.960693, 46.147873) -- Onyxia's Lair
    end
    if (intid == 39) then
    player:Teleport(1, 1809.329834, -4404.645508, -18.714394) -- Ragfire Chasm
    end
    if (intid == 40) then
    player:Teleport(1, -4651.700684, -2500.510254, 81.400879) -- Razorfen Downs
    end
    if (intid == 41) then
    player:Teleport(1, -4473.704102, -1683.995361, 80.525322) -- Razorfen Kraul
    end
    if (intid == 42) then
    player:Teleport(1, -740.448181, -2215.664063, 16.156469) -- Wailing Caverns
    end
    if (intid == 43) then
    player:Teleport(1, -6808.160645, -2890.859131, 8.885407) -- Zul'Farrak
    end
    if (intid == 44) then
    player:Teleport(530, -3329.651855, 4936.043457, -90.39930) -- Auchindoun
    end
    if (intid == 45) then
    player:Teleport(530, -3624.857910, 315.062836, 38.903099) -- Black Temple
    end
    if (intid == 46) then
    player:Teleport(530, 730.947876, 6866.012695, -70.749023) -- Coilfang Reservoir
    end
    if (intid == 47) then
    player:Teleport(530, 3523.798340, 5153.760742, -1.424888) -- Gruul's Lair
    end
    if (intid == 48) then
    player:Teleport(530, -575.380798, 3119.677734, 5.5155335) -- Hellfire Citadel
    end
    if (intid == 49) then
    player:Teleport(530, 3098.487793, 1513.052124, 190.300110) -- Tempest Keep
    end
    if (intid == 50) then
    player:Teleport(530, -248.431702, 939.013367, 84.379822) -- Hellfire Peninsula/ The Dark Portal
    end
    if (intid == 51) then
    player:Teleport(530, -1176.588989, 5336.273926, 29.897034) -- Terokkar Forest
    end
    if (intid == 52) then
    player:Teleport(530, -526, 8440, 47.426472) -- Nagrand
    end
    if (intid == 53) then
    player:Teleport(530, 1114.010254, 7090.967285, 122.127274) -- Blade's Edge Mountains
    end
    if (intid == 54) then
    player:Teleport(530, 2315.689209, 2535.836670, 119.271622) -- Netherstorm
    end
    if (intid == 55) then
    player:Teleport(530, -2847.810791, 3190.677246, 8.136728) -- Shadowmoon Valley
    end
    if (intid == 56) then
    player:Teleport(530, 30.284981, 6983.303711, 148.666779) -- Zangarmarsh
    end
    if (intid == 58) then
    player:LearnSpell(15007) -- Remove Resurrection Sickness
    player:UnlearnSpell(15007)
    pUnit:SendChatMessage(12, 0, "Nub...lulz")
    pUnit:GossipComplete(player)
    end
    if (intid == 59) then
    pUnit:CastSpellOnTarget(33077, player)
    pUnit:GossipComplete(player)
    end
    if (intid == 60) then
    pUnit:CastSpellOnTarget(33078, player)
    pUnit:GossipComplete(player)
    end
    if (intid == 61) then
    pUnit:CastSpellOnTarget(33079, player)
    pUnit:GossipComplete(player)
    end
    if (intid == 62) then
    pUnit:CastSpellOnTarget(33080, player)
    pUnit:GossipComplete(player)
    end
    if (intid == 63) then
    pUnit:CastSpellOnTarget(33081, player)
    pUnit:GossipComplete(player)
    end
    if (intid == 64) then
    pUnit:CastSpellOnTarget(33082, player)
    pUnit:GossipComplete(player)
    end
    end
     
    RegisterUnitGossipEvent(npcid, 1, "WarpNPC_OnGossipTalk")
    RegisterUnitGossipEvent(npcid, 2, "WarpNPC_OnGossipSelect") 			 		
    But how do i get it inside the game, pls explain in noob language. =)
    Last edited by Henka44; 10-01-2008 at 12:07 AM.

Page 9 of 11 FirstFirst ... 567891011 LastLast

Similar Threads

  1. [Selling] Level and Gearing Service. Also doing other requests.
    By ali0ne in forum World of Warcraft Buy Sell Trade
    Replies: 1
    Last Post: 09-06-2014, 02:03 PM
  2. [Service] Doing Dailies for free!
    By Job For a Cowboy in forum Members Only Gold And Powerleveling Buy Sell
    Replies: 6
    Last Post: 06-27-2008, 02:22 AM
  3. [Service] Avatar/Sig requests
    By Sixen in forum Art & Graphic Design
    Replies: 0
    Last Post: 05-08-2008, 08:28 PM
  4. [Service] Bapes LUA Scripting Shop
    By Bapes in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 04-22-2008, 09:06 PM
  5. Doing (simple) requests!
    By warsheep in forum Programming
    Replies: 2
    Last Post: 03-09-2008, 05:57 PM
All times are GMT -5. The time now is 02:10 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