Jump to content

Scripting Problem: How to refer to non-specific NPCs in script.


Alliath

Recommended Posts

Here is a portion of the script so far.

 

 

Scriptname NPCSEQGetGoldScript extends Quest
{This script gives player gold if he meets the requirements.}
MiscObject Property Gold001 Auto
Quest Property NPCSpeechExpandedQuest Auto
bool SpeakerFavorState = Bob.IsDoingFavor()
^Is there a way to refer to the "NPC that the Player is currently talking to" rather than just that specific actor. For example, I want to make it so that the script checks the favor state of the NPC currently in dialogue with the player, rather than specifically "Bob".
Link to comment
Share on other sites

  • Recently Browsing   0 members

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