Jump to content

Possible to make nearby NPCs look at you?


Unison5

Recommended Posts

Hello. I'm making a vampirism mod (like everyone and their brother, I figure). It's pretty much done. But there's one thing I'd like to add.

 

The player takes sun damage in stage 3 and 4, with a shader effect. I'd like to make the player sort of a spectacle when in towns or near human(oid) NPCs when taking sun damage. Maybe people stare at or shout at the player.

 

I've thought of making the player cast a hostile spell on everyone within a certain range, but I don't really want the player to be attacked.

 

I'm guessing this isn't something that's easy to do, and at very least involves iterating through all nearby humans and doing a bit of scripting magic..But I haven't really messed with AI stuff at this point.

Link to comment
Share on other sites

@Unison5: The type of behavior you are describing is usually done using Quests (either the Dialog or Combat Dialog tabs). That's also how the "fire is not a toy" type of dialog is managed.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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