You are here

(solved) Can't apply effect to Snake (Creature)

2 posts / 0 new
Last post
WhiteTiger
(solved) Can't apply effect to Snake (Creature)

I would like to add a supernatural effect to my animal Snake, but it looks that nothing happen.

My script:

ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(VisualEffect(VFX_DUR_FLAG_BLUE)), oAnimal);

Do you know why? Maybe is because the animal is too small to take the effect?

Edit:this code works as well for a dog creature but not for a snake nor falcon, parrot...

Hey have you ever played my module? Click here: Amnesia Chapter 1  - (100% english) Enjoy it!

  • up
    50%
  • down
    50%
Proleric

If a creature model doesn't have the node the effect is designed to appear on, nothing happens.

You can add a node to a model with a text editor, as it's essentially just an (x y z) position.

NWN and DAO adventures at http://proleric.com/

  • up
    100%
  • down
    0%