Need help with a couple of things!

Post » Wed Dec 07, 2016 3:33 pm

Hey all,



I was just wondering if there was a way to move enemies between cells. For example I want the player to have to fight a dragon and when the dragon has about half health, to fly away to a different cell. I've tried searching but unfortunately couldn't find anything. Either I'm not looking deep enough or its just not possible and I would really appreciate any advice or help if you know how to do this. Not sure if it matters but I want the dragon to go from an interior cell to an exterior one.



Thanks.

User avatar
Vivien
 
Posts: 3530
Joined: Fri Apr 13, 2007 2:47 pm

Post » Wed Dec 07, 2016 8:36 am

there should be conditions you can set on combat ai packages. if dragon <= 50% health do xyz, idk if a dragon can activate a door but you could always script the dragon to use the activator,



the other option is to use the moveTo (or similar function like enabling already initially disabled objects) whenever the dragon's health drops below 50%, bring in some sound fx and visual fx like smoke or lightning or w/e to mask a coc call on the dragon and forcibly send him to another cell or xmarker. the problem is it will just disappear out of thin air unless you try to mask it first.

User avatar
meg knight
 
Posts: 3463
Joined: Wed Nov 29, 2006 4:20 am

Post » Wed Dec 07, 2016 8:17 pm

Hmm alright I'll give that a try, thanks! I just couldn't find anything on whether or not I could make an actor move from one cell to another but I guess it makes sense if you have it teleport to an xmarker. What my ultimate goal is to make the dragon fly up through a hole in the ceiling to make it semi realistic, otherwise its just going to have to be effects.

User avatar
ShOrty
 
Posts: 3392
Joined: Sun Jul 02, 2006 8:15 pm

Post » Wed Dec 07, 2016 8:37 am

Dragons can be problematic with interior cells as they're not supposed to spawn inside them so will fly right though walls, ceilings etc if they take flight, just so you know.

User avatar
Scotties Hottie
 
Posts: 3406
Joined: Thu Jun 08, 2006 1:40 am


Return to V - Skyrim