Two quick lua mishaps [Solved]
Posted: Tue Jul 22, 2014 12:57 am
Not really lua mishaps, but they both involve it.
Firstly, I've removed a line from one of my functions in my lua that teleports one person to another when something happens. However, when that something happens, the person is still teleported. The line that makes it happen does not exist. I've just done a manual clean and nothing has changed.
Secondly, I'm trying to create an effect on a person. Everything works fine except that I get this error when it happens.
I've loaded that effect through the world's effects folder, the sides' effects folders, and through common's effects folder using ingame.lvl. And it just doesn't want to show up. Here's how I'm spawning it.
Help is greatly appreciated.
Firstly, I've removed a line from one of my functions in my lua that teleports one person to another when something happens. However, when that something happens, the person is still teleported. The line that makes it happen does not exist. I've just done a manual clean and nothing has changed.
Secondly, I'm trying to create an effect on a person. Everything works fine except that I get this error when it happens.
Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(4519)
Effect class "com_sfx_blue" not found
Code: Select all
AttachEffectToMatrix(CreateEffect("com_sfx_blue"), GetEntityMatrix(object))