Canderis Posted June 6, 2009 Posted June 6, 2009 #include "k_inc_force" void main() { SWFP_DAMAGE_TYPE = DAMAGE_TYPE_DARK_SIDE; object oSource = OBJECT_SELF; object oTarget = GetSpellTargetObject(); effect eBeam = EffectBeam(2026, oSource, 4); effect eVFX = EffectVisualEffect( effect eSource = EffectVisualEffect( effect eDamage = EffectDamage(GetCasterLevel(oSource)*5); ApplyEffectToObject(1, eBeam, oTarget, 5.0f); ApplyEffectToObject(1, eVFX, oTarget, 5.0f); ApplyEffectToObject(1, eSource, oSource, 5.0f); } I get a syntax error on line 12, when i remove line 12 i get another error on line 12.
Nirran Posted June 6, 2009 Posted June 6, 2009 your missing the visual id numners in these 2 lines effect eVFX = EffectVisualEffect( effect eSource = EffectVisualEffect(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.