Exile007 Posted February 11, 2008 Share Posted February 11, 2008 Okay, I did everything needed to get the power in game, and it worked great!Except that the effect I wanted (lightning) will not show up, so my power now will apply the force push effect, but not the lightning one, so my target will be pushed back by nothing. This is the script I am using #include "k_inc_force" void main() { SWFP_DAMAGE_TYPE = DAMAGE_TYPE_LIGHT_SIDE; object oSource = OBJECT_SELF; object oTarget = GetSpellTargetObject(); effect eBeam = EffectBeam(1021, oSource, 3); effect eVFX = EffectVisualEffect(1014); effect eDamage = EffectDamage(GetCasterLevel(oSource)*10); ApplyEffectToObject(1, eBeam, oTarget, 8.0f); ApplyEffectToObject(1, eVFX, oTarget, 3.0f); ApplyEffectToObject(1, eDamage, oTarget, 2.0f); } Can anyone tell me what I did wrong? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.