Author Topic: AoE "Death Grip"  (Read 393 times)

Legacy_SKIPPNUTTZ

  • Full Member
  • ***
  • Posts: 148
  • Karma: +0/-0
AoE "Death Grip"
« on: April 10, 2014, 02:29:53 pm »


               

Been designing this boss ability and it doesn't appear that you can make an AoE bigby that actually shows hands rushing out at every single target. I think the only way I have gotten the animation to fire at all is using Action funcitons and the queue itself.  I haven't tried it in multiplayer yet ut im pretty sure it will not work using an action queue.


 


Halp meh!!! Only way i can think of doing it, is to create a unique, temporary, invisible object, for every target in which to assign a fake cast too. That about right?


 


//Get first target in spell area
    object oTarget = GetFirstObjectInShape(SHAPE_SPHERE, 100.0, lAOE);
    while(GetIsObjectValid(oTarget))
    {
        if(oTarget != OBJECT_SELF)
        {
            if(GetIsReactionTypeHostile(oTarget))
            {
                AssignCommand(GetNearestObjectByTag("InvisiblePillar1", oCaster), 
                ActionCastFakeSpellAtObject(SPELL_BIGBYS_CLENCHED_FIST, oTarget));
 
                //Apply the VFX impact and effects
 
                ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectCutsceneImmobilize(),oTarget, 0.20);
                AssignCommand(oTarget, ClearAllActions());
                AssignCommand(oTarget, ActionJumpToObject(oCaster));
 
                
             }
        }
        //Get next target in spell area
        oTarget = GetNextObjectInShape(SHAPE_SPHERE, 100.0, lAOE);
    }