Aller au contenu

Photo

applying the dizzy effect over a players head


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
ApplyEffectOnObject(EFFECT_DURATION_TYPE_TEMPORARY, EffectParalyze(), arTargets[count], 3.0, OBJECT_INVALID);

i've used that code to paralyze the player but i would also like to get the orange circle over the players head or some other vfx going on top of the paralyze effect if it is possible. one function only if possible so i can write it directly in the code and current setup i have.

#2
FergusM

FergusM
  • Members
  • 460 messages
effect someVFX = EffectVisualEffect(666);

Engine_ApplyEffectOnObject(EFFECT_DURATION_TYPE_TEMPORARY, someVFX , oSomeTarget, 3.0,oSomeCreator);



where 666 is the id of the vfx in vfx_base.xls 2da in [install]/tools/source. I'm not sure what it is... 1009 is 'stun crust', try that maybe.