Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Geek Talk & Media
[NWN] Respawning stuff
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="EricNoah" data-source="post: 242873" data-attributes="member: 4"><p>If you're interested in learning by example, I'll zip up my module and post it so you can download it and pick it apart at your leisure. I'll post the link later.</p><p></p><p>To generally answer your questions:</p><p></p><p></p><p>1) To get a particular critter or NPC to respawn, you have to make a custom encounter that has just that critter or NPC on the creature list. Set it so it generates 1-1 (i.e. just one) of these creatures, and then create the encounter as normal (on the Advanced tab, select the checkboxes for respawning and infinite respawn; and then return to the main tab and select Continuous). </p><p></p><p>2) To get treasure to respawn, you must first create a container (say, a chest). Open the chest's properties. On the scripts tab, select one of the following scripts to activate OnOpen and OnDestroyed (?):</p><p></p><p>nw_o2_classhig</p><p>nw_o2_boss</p><p></p><p>There are others that generate other treasures but start with one of these for now. </p><p></p><p>Now Edit the script you picked. Add the following line just after the ShoutDisturbed line and before the closing }:</p><p></p><p>DelayCommand (60.0, SetLocalInt (OBJECT_SELF, "NW_DO_ONCE",0));</p><p></p><p>That will delay the chest's ability to respawn for 60 seconds; when that time passes the chest thinks it hasn't been opened yet and will generate a new treasure next time it's opened.</p></blockquote><p></p>
[QUOTE="EricNoah, post: 242873, member: 4"] If you're interested in learning by example, I'll zip up my module and post it so you can download it and pick it apart at your leisure. I'll post the link later. To generally answer your questions: 1) To get a particular critter or NPC to respawn, you have to make a custom encounter that has just that critter or NPC on the creature list. Set it so it generates 1-1 (i.e. just one) of these creatures, and then create the encounter as normal (on the Advanced tab, select the checkboxes for respawning and infinite respawn; and then return to the main tab and select Continuous). 2) To get treasure to respawn, you must first create a container (say, a chest). Open the chest's properties. On the scripts tab, select one of the following scripts to activate OnOpen and OnDestroyed (?): nw_o2_classhig nw_o2_boss There are others that generate other treasures but start with one of these for now. Now Edit the script you picked. Add the following line just after the ShoutDisturbed line and before the closing }: DelayCommand (60.0, SetLocalInt (OBJECT_SELF, "NW_DO_ONCE",0)); That will delay the chest's ability to respawn for 60 seconds; when that time passes the chest thinks it hasn't been opened yet and will generate a new treasure next time it's opened. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
[NWN] Respawning stuff
Top