Jump to content
  • 0

Resting System


Question

Posted

Hello guys!

 

I don't know how to make a NPC like this one I want, if you guys could help me i'd be grateful :)

 

I'd like to have a NPC that when a player gets closer to it, it would activate a countdown of 60 seconds and after that, the npc would give the player account +1 point (account variable) and then restart the countdown. If the player moves away, the countdown would be interrupted and by that, the play should not win this point.

 

Could anyone help me out on this one?

 

Thanks!

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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