Thread: LUA eq:selfcast
View Single Post
  #1  
Old 07-17-2013, 09:00 PM
Furniture
Hill Giant
 
Join Date: Aug 2012
Posts: 205
Default LUA eq:selfcast

I finally got LUA working properly, and everything seems to work except one thing.

the eq.SelfCast function in codes are not working.

for example: here is a translocator script

Code:
function event_say(e)
  if(e.message:findi("hail")) then
    e.self:Say("Hello there. There seem to be some strange problems with the boats in this area. The Academy of Arcane Sciences has sent a small team of us to investigate them. If you need to [travel to] Erud's [Crossing] in the meantime, I can transport you to my companion there.");
  elseif(e.message:findi("crossing")) then
    eq.SelfCast(2289);
  end
end
everything works up until you say "crossing" and nothing happens

Is this a known issue?
Reply With Quote