Jump to content
External pictures are being replaced... ×
×
×
  • Create New...
  • 0

Spawn npc for a player and then purge it back


CZEboy

Question

Hello guys,

 

I'm thinking about a quest, I'd need to spawn npc on some event for example player login or kill then allow only this player who spawned npc to interact with its and after some time or interaction purge the npc back.

 

To be specific i would like to do something like:

when kill begin
-- spawn npc
end


when npc.click begin -- only usable by player who spawned the npc before
-- do something and purge
end


-- after sometime purge it anyways

 

Can you help me please ? :)

 

Kind regards.

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.