Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

NPC/script question


Kusy
 Share

Recommended Posts

Is it posible to script an NPC that would changes it spawn point randomly? I'll explain it a little bit more:
we hawe maps from 1 to 20 and we hawe a neutral NPC. I would like it to look like this: the NPC would orginaly had it's spawn point on map 1 but after a certain peroid of time (or death of the NPC) it would disapear from map one and choses a new defined spawn point randomly on maps from 1 to 5 (15 other maps would be excluded). So it would like disaper from map 1 and spawns on map 3… and then disapers and spawns on map 5 and then 1 and 2 and randomly like that (or ewen not randomly). Also it would be nice to disable the proces while player interacts with the NPC (when they fight with it or when they talk with it/stand next to it).
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...