Jump to content

Having some AI package issues


ABVXYzackattack

Recommended Posts

Hey I am trying to create an assassin that when he is created, he will go to a certain area. The package works just fine if he is placed normally, but if he was disabled first, or was created via placeatme command, he will not execute his package. I've tried the evaluatepackage command and it won't work either. What can I do to make him execute his package if he was created or enabled?
Link to comment
Share on other sites

Hey I am trying to create an assassin that when he is created, he will go to a certain area. The package works just fine if he is placed normally, but if he was disabled first, or was created via placeatme command, he will not execute his package. I've tried the evaluatepackage command and it won't work either. What can I do to make him execute his package if he was created or enabled?

 

My advice would be to give your NPC the travel package *after* they are enabled/placeatme'd and then have them evp.

Link to comment
Share on other sites

You might be experiencing delay. Depending on the conditions on the package, you might have to wait 5 seconds before the script will run. If it is time based. you might have to wait until the turn of the game hour. If there is lag from a slow computer or a resource intensive area in the game then all actors may be slow to use their AI, and in extreme cases will never use it. (Like the YouTube video where about 3 trolls defeat an army of like 100 peasants because they just stand around instead of fighting.)

 

The PlaceAtMe command is frowned on and many gamers won't use mods that contain it. It causes savegame bloat. In the most extreme circumstances, it can ruin savegames so that they have to be abandoned because they can't be played anymore. So even if the command is causing no more bloat than your other persistent references do, it is best to not use the command and not give the critics any ammunition to use against you.

 

Alternatives to PlaceATMe are Enable and MoveTo.

 

On a more basic level, there may be problems with the conditions on the AI package, or problems with the triggers on the script that uses the evp command. You may be able to use different triggers that will make evp work.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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