So we all know about the conversion to LUA scripts from GM /mourn, any big changes to syntax that we should know? If so please post them so I can start fixing my scripts.
So we all know about the conversion to LUA scripts from GM /mourn, any big changes to syntax that we should know? If so please post them so I can start fixing my scripts.
read all about lua and ascent here:
Lua - Ascent Wiki
grtz
ehhh.... i dont understand it.. can i just rename my .gm scripts into lua? or do i need another "Text" inside the .lue script?
LUA is totally different then GM...
you need the rewritten LUA scripts...
you can get some from moon++ project already
here some LUA scripts:
http://projects.emupedia.com/svn/moo...Lua%20Scripts/
and here are the C++ dll scripts:
http://projects.emupedia.com/svn/moo...20scripts/src/
username: anonymous
leave password blank !
the moon++ forums:
www.moonplusplus.info :: Index
go there for any help
grtz
Last edited by latruwski; 11-26-2007 at 11:56 AM.
uh thx alot but ehhh.. what i were looking for were boss spells for outland raids fx: http://projects.emupedia.com/svn/moo...d_Karazhan.cpp seems to it, but how do i use it? xD
Last edited by lazzer; 11-26-2007 at 02:31 PM.
sweet the new lua engine seems to have some of the more useful commands like main tank interaction etc
Check out this guys, little guide by me, how to make them \/
http://www.mmowned.com/forums/emulat...-updating.html
And Lue Scripts is Alot diffrent from .gm
EG \/ this is a .GMNpc talking script \/
And this is a .LUA Npc talking script \/global MobName_Event = function(mob)
{
.SendChatMessage("What you wont your NPC to say");
.DeregisterTimer();
};
.RegisterUnitEvent(NpcID, 0, MobName_Event);
U see Diffrencefunction NpcName_Event (pUnit, Event)
pUnit:SendChatMessage (Type, Language, "What you wont your Npc to say")
end
RegisterUnitEvent (Npc Spawn ID, When, "Name_Event")
Last edited by Illidan1; 11-26-2007 at 06:03 PM.