| | Emulator Server Guides Guides for working with World of Warcraft Emulator servers. Learn how to create a WoW Server here.
[NO QUESTIONS HERE] |  | 
10-05-2007
| | Banned | | | Join Date: Jul 2007 Location: New Zealand
Posts: 2,255
Reputation: 243 Points: 14,287, Level: 15 | Level up: 50%, 713 Points needed |     | | [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont First if u don't wont to do this i could do some for you
Ok Most of u might would like to know this What i mean is like Your just running around and u have a Custom Mob / Boss and then when u Attack it then NPC will say like "Why do u try and kill me" Etc buy it's self w/o using the command .npc say / .npc yell
Ok well this is done with GM Scripting and well this is how Step : 1 > Open a Note Pad
Step : 2 > Put this in There Code: global MobName_Event = function(mob)
{
.SendChatMessage("What you wont your NPC to say");
.DeregisterTimer();
};
.RegisterUnitEvent(NpcID, 0, MobName_Event);
Ok everythign in red must be Changed
First > MobName = The first name of your mob so if i was doing Illidan Stormrage i would put "global Illidan_Event" (Must be Corrected Spelling ,Caps on names Etc)
Next > Event = The event when you wont your npc to say it so like if u wont him to say it on enter Comback it would look like this "global Illidan_Enter_Combat
Heree is the Command u must put for them
On Enter Combat = MobName_Enter_Combat = function(mob)
On Leave Combat = MobName_Leave_Combat = function(mob)
On Killed Target = MobName_Killed_Target = function(mob)
On Died = MobName_Died = function(mob)
On Spawn = MobName_Spawn = function(mob)
On Player Enters Range = MobName_Player_Enters_Range = function(mob)
There is more but i dotn know how to do them ones
Ok next is > What you wont your NPC to say = Well Put what you wont your Npc to say 
Next > .RegisterUnitEvent(NpcID, 0, MobName_Event); = the Spawn if of your mob so i
f i was using Illidan his Spawn id is 22917 so
i would put .RegisterUnitEvent(22917, 0, MobName_Event); Next is > .RegisterUnitEvent(NpcID, 0, MobName_Event); = Put on of theses \/ 1 = On Enter Combat
2 = On Leave Combat
3 = On Killed Target
4 = On Died
6 = On Spawn
10 = On Player Enters Range
What every one your doing it for Next > 1 = .RegisterUnitEvent(NpcID, 0, MobName_Event); = You should know that if you Read up a bit
Ok now Go to File > Save As> For File Name: MobName.gm (MUST have the .gm) For Save As Type : All Files
And save it to your Desktop for know
Then > Go into your Server Im using AC Repack so it would be C:\AC Web Ultimate Repack
And then go into your Ascent or Antrixx Folder and make a Folder called Scripts (If u have it already open it)
C:\AC Web Ultimate Repack\Ascent\scripts
C:\AC Web Ultimate Repack\Antrix\scripts
and then Put your MobName.gm from your Desktop into it and then Close and in your Ascent / Antrix Cmd
type: reloadscripts / OR in game : .reloadscripts/
Or Restart your Server and then your Done Good luck
if u need any Help Or for me to Script 1 for you PM me
Last edited by Illidan1; 10-31-2007 at 06:41 AM.
| Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx. 
10-05-2007
|  | Contributor | | | Join Date: Mar 2007 Location: /b/
Posts: 1,241
Reputation: 154 | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont or make it say stuff in the npc_text or npc_monstersay tables i think
__________________ "I don't fail at stuff, I succeed at finding what doesn't work"
Last edited by Le Froid; 10-05-2007 at 08:56 AM.
| 
10-05-2007
|  | Contributor | | | Join Date: Jun 2007 Location: Germany
Posts: 1,400
Reputation: 264 Level up: 2%, 1,088 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont | 
10-05-2007
| | Banned | | | Join Date: Jul 2007 Location: New Zealand
Posts: 2,255
Reputation: 243 Points: 14,287, Level: 15 | Level up: 50%, 713 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont Lol that was buy me my name is killuallnow1 on ac web and illidan1 is mmowned =) | 
10-25-2007
|  | Knight | | | Join Date: Sep 2007
Posts: 193
Reputation: 14 Level up: 70%, 154 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont can u help me make one? | 
10-26-2007
| | Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep) | | | Join Date: Oct 2007
Posts: 6
Reputation: 3 | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont It is very helpful | 
10-27-2007
| | Banned | | | Join Date: Jul 2007 Location: New Zealand
Posts: 2,255
Reputation: 243 Points: 14,287, Level: 15 | Level up: 50%, 713 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont Send me a privte msg if u need 1 | 
10-27-2007
|  | inc | | | Join Date: Feb 2007 Location: MMowned
Posts: 5,429
Nominated 3 Times in 3 Posts Reputation: 1032 Points: 44,307, Level: 31 | Level up: 90%, 293 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont hey dude im launching my server in a few days want to be a scripter?
__________________ Super Moderator: 07-01-2009 Moderator: 23-05-2008 Leecher: 25-02-2007 Help 2d make £500 (lol) PM with any know how to make monies ;D | 
10-27-2007
| | Banned | | | Join Date: Jul 2007 Location: New Zealand
Posts: 2,255
Reputation: 243 Points: 14,287, Level: 15 | Level up: 50%, 713 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont Humm yeha sure y not im bored =) | 
10-27-2007
|  | Knight-Lieutenant | | | Join Date: Jun 2007 Location: Padded white room
Posts: 289
Reputation: 41 Level up: 37%, 319 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont w00t +rep for u | 
10-31-2007
|  | Corporal | | | Join Date: Aug 2007 Location: NM
Posts: 26
Reputation: 16 | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont Would this work for MaNGOS? or just ascent/antrix? | 
10-31-2007
| | Banned | | | Join Date: Jul 2007 Location: New Zealand
Posts: 2,255
Reputation: 243 Points: 14,287, Level: 15 | Level up: 50%, 713 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont | 
10-31-2007
| | Banned | | | Join Date: May 2007
Posts: 824
Reputation: 77 | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont Very Nice guide. Try and seperate them more so you can get repped lol.
I'm owing you about 10 right now. | 
10-31-2007
| | Banned | | | Join Date: Oct 2007
Posts: 14
Reputation: 3 | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont Nice... i have seen a lot of guides from you, are you making them? | 
10-31-2007
| | Banned | | | Join Date: Jul 2007 Location: New Zealand
Posts: 2,255
Reputation: 243 Points: 14,287, Level: 15 | Level up: 50%, 713 Points needed |     | | | Re: [Guide] Making a Npc Talk [Scripting] (I can do some Scripts for you if u wont Yes, i am making them |  |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -4. The time now is 03:31 PM. |