I first tried this:
Code: Select all
AttachEffectToObject(CreateEffect("kas1_bonfire_yellow"), "myg1_bldg_fire_effect")
print("Effect Code Ran")Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(4519)
Effect class "kas1_bonfire_yellow" not found
Effect Code RanCode: Select all
AttachEffectToObject("kas1_bonfire_yellow", "myg1_bldg_fire_effect")
print("Effect Code Ran")What I'm looking for here is simply a way of having a nice control though LUA over which effect is attached to what object and when.
Any help?

