Jump to content

Home

Force Power Woes


Canderis

Recommended Posts

#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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...