Ambard Posted 18 hours ago Share Posted 18 hours ago I have an npc event set as a bank but it needs to only open after the player has talked to a separate event npc. Example: You walk up to the bank NPC but unless you have talked to Thurston first the bank refuses to open for you. Â Thanks Link to comment Share on other sites More sharing options...
0 EspectroW Posted 4 hours ago Share Posted 4 hours ago 14 hours ago, Ambard said: I have an npc event set as a bank but it needs to only open after the player has talked to a separate event npc. Example: You walk up to the bank NPC but unless you have talked to Thurston first the bank refuses to open for you. Â Thanks You can do this in several ways depending on your needs. For example; 1)Â The NPC they must speak to first could give a quest. The bank NPC could be conditioned to only work if the quest is completed. 2)Â If you don't need it to be a quest, but rather something temporary, requiring you to always speak to the first NPC, then you can do this with a player variable, "bank_on." When the player speaks to the first NPC, the variable becomes "TRUE." The bank NPC is conditioned to only work if the variable "bank_on=TRUE." This way, you can set this variable to "FALSE" whenever you need to speak to the first NPC again. Link to comment Share on other sites More sharing options...
Question
Ambard
I have an npc event set as a bank but it needs to only open after the player has talked to a separate event npc. Example: You walk up to the bank NPC but unless you have talked to Thurston first the bank refuses to open for you.
Â
Thanks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now