PDA

View Full Version : Force Power Woes


Canderis
06-06-2009, 12:22 PM
#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
06-06-2009, 02:28 PM
your missing the visual id numners in these 2 lines


effect eVFX = EffectVisualEffect(
effect eSource = EffectVisualEffect(