Jump to content

Home

Scripting Help!


Exile007

Recommended Posts

I'm trying to develop a new force power, and whenever I use it, nothing happens, here is the script!

 

void main()

{

 

object oSource = OBJECT_SELF;

object oTarget = GetSpellTargetObject();

 

effect eBeam = EffectBeam(2053, oSource, 3);

effect eVFX = EffectVisualEffect(1001);

effect eSource = EffectVisualEffect(1004);

effect eDamage = EffectDamage(100);

 

ApplyEffectToObject(1, eBeam, oTarget, 2.0f);

ApplyEffectToObject(1, eVFX, oTarget, 2.0f);

ApplyEffectToObject(1, eSource, oSource, 2.0f);

ApplyEffectToObject(1, eDamage, oSource, 2.0f);

}

 

 

In fact, now all my force powers are all switched about! (like Statis field is now plague.) Help!!!!:(

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...