Jump to content

[LE] two issues with two dragons.


wilwhitt56

Recommended Posts

needing a little help with two dragons.

 

1.the first one is a boss type in it's own world space. The problem is that the moment combat starts, he starts flying through everything. The ground, buildings, walls, all of it. Is there a way I can fix this, or do just need to ground him?. The navmesh is there, so I don't think it's that.

 

2. the second is a summon for the final boss. It works perfectly fine, the problem is the boss. I noticed that, even though I marked to use the spell only once, she'll still try to summon the dragon in but can't. Is there a way to get her to stop trying after the one time?

Link to comment
Share on other sites

1. To fix this your worldspace needs to have Max Height Data calculated. Under World > select Generate Max Height Data for World (do not do for all worlds). Double-click on your worldspace name and follow the instructions.

Edited by Hanaisse
Link to comment
Share on other sites

As long as the spell is in the actor's inventory, the actor's AI will still try to use that spell.

The only reliable and effective way to stop completely any attempt of the actor to cast the spell, is to remove the spell from the actor by script.

Add this to the conjuration spell's magic effect, and fill in the properties of the script with the conjuration spell.



Spell Property MySpell Auto
Actor SelfREF

EVENT OnEffectStart(Actor akTarget, Actor akCaster)
SelfREF = akCaster
ENDEVENT

EVENT OnEffectFinish(Actor akTarget, Actor akCaster)
SelfREF.RemoveSpell(MySpell)
ENDEVENT

Edited by maxarturo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...