AscentWorld
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 [SHARE] SUMMON ATTUMEN

Go down 
2 posters
AuthorMessage
Rouslan
The One
The One
Rouslan


Posts : 65
Join date : 2008-03-20
Location : Your BIOS

[SHARE] SUMMON ATTUMEN Empty
PostSubject: [SHARE] SUMMON ATTUMEN   [SHARE] SUMMON ATTUMEN EmptyFri Mar 21, 2008 12:56 pm

This is Karazhan Boss Script for Summon Attumen. The Horse will summon Attumen by < 20 % of his Life.

Its a very simple Script!



Code:
RegisterUnitEvent(16151, 1, "Summon_Attumen")

function Summon_Attumen(Unit)
    Unit:RegisterEvent("Summon_Attumen1", 200, 0)
end

function Summon_Attumen1(Unit)
    if (Unit:GetHealthPct() < 20) then
        Unit:SendChatMessage(12, 0, "Attumen, eile herbei!")
        x = Unit:GetX();
        y = Unit:GetY();
        z = Unit:GetZ();
        o = Unit:GetO();
        Unit:SpawnCreature(15550, x+1, y+1, z, o, 14, 2000000)
       
        Unit:RemoveEvents()

    end
end
Back to top Go down
https://ascentworld.forumotion.com
Fusion
CN Gangster
CN Gangster
Fusion


Posts : 123
Join date : 2008-03-21
Location : Some ware deep in your hard drive

[SHARE] SUMMON ATTUMEN Empty
PostSubject: Re: [SHARE] SUMMON ATTUMEN   [SHARE] SUMMON ATTUMEN EmptySat Mar 22, 2008 6:10 am

Rouslan wrote:
This is Karazhan Boss Script for Summon Attumen. The Horse will summon Attumen by < 20 % of his Life.

Its a very simple Script!



Code:
RegisterUnitEvent(16151, 1, "Summon_Attumen")

function Summon_Attumen(Unit)
    Unit:RegisterEvent("Summon_Attumen1", 200, 0)
end

function Summon_Attumen1(Unit)
    if (Unit:GetHealthPct() < 20) then
        Unit:SendChatMessage(12, 0, "Attumen, eile herbei!")
        x = Unit:GetX();
        y = Unit:GetY();
        z = Unit:GetZ();
        o = Unit:GetO();
        Unit:SpawnCreature(15550, x+1, y+1, z, o, 14, 2000000)
       
        Unit:RemoveEvents()

    end
end

sweet, shame it dose not come with the basic pack
Back to top Go down
http://www.fusionprogramming.co.uk
 
[SHARE] SUMMON ATTUMEN
Back to top 
Page 1 of 1
 Similar topics
-
» [SHARE] Sapphiron
» [SHARE] LUA ZULAMAN ENCOUNTERS
» [SHARE] GAUNTLET EVENT!
» [SHARE] chars with 350 all skills
» [SHARE] GAME MASTER MAIL SYSTEM

Permissions in this forum:You cannot reply to topics in this forum
AscentWorld :: Ascent Development :: Share-
Jump to: