I have a NPC that needs an item in order for you to proceed. How do I make it so you won't be able to proceed until you give the NPC the item they need?

BTW an NPC is a non-player character (in this case it’s a disabled sentry).

Welcome to the forums @Hdangerzones!
uh
you could place a vending machine, then go to all options and make it so that it attempts to buy on the interaction Trigger on the character, make it so that when it fails the character says something and when it doesn’t fail something else happens.

1 Like

I will try that! Thank you I had genuinely no clue how to do it so ty lol

1 Like

A disabled sentry is not in the game, that means you won’t see it.

They might mean that the sentry is friendly, but if it’s disabled, that does mean they won’t be able to see it.

In that case make the sentry the same team as the player so they won’t damage them, then use the vending machine idea proposed by How_Was_The_Fall

5 Likes

Use a item granter and make it so it unlocks a wall that blocks you from the npc
hope this helps

Yes, I know. What you can do is put a sentry down, then a barrier around it (make the barrier invisible so they can’t see it). I’ve only tried it in a top-down mode, not a platformer, just so you know :slight_smile:

2 Likes