logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NPC random movement and re-spawning

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
fgetce



Joined: 04 Jun 2006
Posts: 23

PostPosted: Tue Sep 05, 2006 2:57    Post subject: NPC random movement and re-spawning Reply with quote

Question regarding random movement.

If you set a NPC or creature to random movement on spawn; how far will it wonder around the area?

Will it literally just wonder all over my zone or will it stay within X distance from its spawn point?

Also does anyone know or have a good spawning system like a MMORPG? I need creatures to respawn X amount of seconds after they are slain. I can do it with placing encounters and having the encounters being reset after X time but I was looking for a individual system for rogue or placed creatures.

Thanks.
Back to top
View user's profile Send private message
Acrodania



Joined: 02 Jan 2005
Posts: 208

PostPosted: Tue Sep 05, 2006 3:46    Post subject: Reply with quote

If you tell a creature to RandomWalk() they will just move around in the general vacinity, but they will slowly drift east. Leave the mod running long enough and they will all be clumped in that corner of you areas Smile

As for spawning scripts, check the Vault (nwvault.ign.com), its the best repository of scripting systems. I can't recommend any; I used my own Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group