Create AI packages

Post » Sun Sep 13, 2009 9:57 am

Hello all I was wondering if it is possible to create AI packages for NPCs to use such as teleport or attack or jump?

Thank you hoping for a quick response.
User avatar
Barbequtie
 
Posts: 3410
Joined: Mon Jun 19, 2006 11:34 pm

Post » Sun Sep 13, 2009 2:09 pm

Hello all I was wondering if it is possible to create AI packages for NPCs to use such as teleport or attack or jump?

Thank you hoping for a quick response.


A script can force almost any behavior out of an NPC. Such a script can target a specific NPC or the NPC that is running the script. A script can be targerted to a specific NPC from another script or dialog. Using MWSE a global script could look at all the NPC's present and target any or all of them based on any testable criteria. If you want a specific NPC to perform certain tasks this readily doable (see The Underground II, Carrie Irrietie, and most other modern companion mods for examples)
User avatar
Anna Krzyzanowska
 
Posts: 3330
Joined: Thu Aug 03, 2006 3:08 am

Post » Sun Sep 13, 2009 8:47 pm

cool thank you. One more q is it possible to make an npc have 2 scripts attached to it? Thank you.
User avatar
I’m my own
 
Posts: 3344
Joined: Tue Oct 10, 2006 2:55 am

Post » Sun Sep 13, 2009 10:35 am

You can have only one script attached to an NPC, but you have multiple targeted global scripts in addition to the one local script.
User avatar
Adrian Morales
 
Posts: 3474
Joined: Fri Aug 10, 2007 3:19 am

Post » Sun Sep 13, 2009 5:56 am

Okay.

Thank you for both of your guys's help.
User avatar
Honey Suckle
 
Posts: 3425
Joined: Wed Sep 27, 2006 4:22 pm


Return to III - Morrowind

cron