Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPCData 'OnActivate()' not working as expected #14

Open
pravusjif opened this issue Nov 20, 2023 · 1 comment
Open

NPCData 'OnActivate()' not working as expected #14

pravusjif opened this issue Nov 20, 2023 · 1 comment

Comments

@pravusjif
Copy link

The NPC dialogue doesn't always open when entering the activation distance:

Screen.Recording.2023-11-20.at.23.37.52.mp4

That can be easily tested using the "Simple NPC" test scene from sdk7-goerli-plaza: https://github.com/decentraland/sdk7-goerli-plaza/tree/main/Simple-NPC

(the npc.closeDialogWindow(marsha) line from onWalkAway() has to be removed as it's old and also breaks the functionality)

@aminekha
Copy link

aminekha commented Aug 2, 2024

Did you solve this? I'm having the same issue when trying to open talk window by clicking on an entity:
pointerEventsSystem.onPointerDown( { entity: leftClickArea, opts: { button: InputAction.IA_POINTER, hoverText: 'Présentation' } }, function () { npc.talk(alice, AliceDialog) } )

It's not working at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants