I want to prevent the player from exiting an area until an enemy is defeated
BishopB
Member Posts: 8
I'm not exactly sure how to do this, but I have a few ideas which should work:
1. After the player passes through a certain door, the door automatically closes and locks, and can't be re-opened unless you recover a key from the enemy.
2. When you enter a certain area, there are no area transitions, but after you defeat the enemy, a portal appears which allows the player to leave the area.
-
If anyone can let me know how to do either of the above, I would appreciate it.
1. After the player passes through a certain door, the door automatically closes and locks, and can't be re-opened unless you recover a key from the enemy.
2. When you enter a certain area, there are no area transitions, but after you defeat the enemy, a portal appears which allows the player to leave the area.
-
If anyone can let me know how to do either of the above, I would appreciate it.
0
Comments
Best place to ask build/script-related questions is usually the Neverwinter Vault discord - many helpful and knowledgeable builders, coders & modders there: https://neverwintervault.org/chat
#2 inbound transition to a waypoint. In the OnDeath script of the enemy, CreateObject to make a portal from a pre-made placeable template whose OnUsed script jumps the clicker to another waypoint. More help available at the Vault forum if needed.