(a resource for nwn2 builders) (a resource for nwn2 builders)

  • Resources for Builders
  • Aggregator
  • Image Gallery
  • Blog
  • About
  • Quick Jump
    • Getting Started
      • Official documentation
      • NWN2 Toolset: Getting Started
      • The Don't Panic guide
      • The Tome of Building
      • Folders and formats
        • BMU
        • ERF
        • PFX
        • SEF
        • WMP
      • The power of 32 characters
      • FRW Base Module
    • Areas
      • Area lighting
        • Bloom
      • Exteriors
        • Anduraga's area building tips
        • DLA Tutorial: Exterior Area
        • FRW: Texturing a good grasslands area
        • jlf2n: Learning shading
        • Layering textures and sounds
        • NWN2 Mods: The Arena
        • NWN2 Toolset: Areas
        • NWN2 Toolset: Bridges
        • TerraCoppa: Copying and rotating areas
        • The walkmesh helper
        • Creating seamless areas
      • Interiors
        • DLA Tutorial: Interior Area
      • Load Screens
      • Avoiding area corruptions
        • Kivinen: module debug tools
    • Blueprints and Objects
      • Creatures
        • Companions
          • NWN2Toolset: Companions
        • NWN2 Toolset: Creatures
        • Persistent Zombie
        • Why is everyone injured?
      • Placeables
        • Containers
        • Converting to Environmental
          • Caution converting Environmental to Placeables
      • Lights
        • nwn2toolset: lighting tutorial
      • Variables
    • Conversations
      • Tutorials
        • Machinations: Conversation Tutorial
        • NWN2Toolset: Conversation Tutorial
      • Cutscenes
        • Cutscenes, multiplayer and OnClientEnter
        • jackyo123: Cutscene Tutorial
        • nwn2toolset: How to make cutscenes
      • FRW: Conversation Tips by David Gaider
      • Multiplayer and NWN1 vs NWN2 style
      • The Journal
      • Camera Control
        • Static Camera Orientation
        • The invisible cameraman
          • Panning the camera to the sky
    • Scripting
      • Variable scope
        • Campaign variables
        • Globals
      • Add From Template
        • Conversation Switch
        • Area OnClientEnter Cutscene
      • Common Tasks
        • Ambient Animations
        • Changing area music with a trigger
        • Death and Respawn
        • GetGoldPieceValue()
        • Lugoun's Find and replace a word in a string
        • Making a creature lay down
        • Making an invisible object cast a spell at the PC
        • NWScript: Giving gold in a conversation
        • NWScript: Levers and doors
        • NWScript: Object Creation
        • Scripted Waypoints
        • Sitting
        • Starting a conversation with a placeable
        • Treasure
        • Wandering Monsters
      • Companions
        • Companion Influence
        • FRW: suggestions for dealing with companions
        • Henchmen
      • Groups
      • Naming Conventions
        • CODI naming conventions
        • Official Documentation: Script Naming Conventions
      • Opening system scripts
      • Spells and spell hooks
      • Visual Effects
        • Non-functional Visual Effects
        • NWN Lexicon: visual effects samples
      • Switches
    • Campaigns
      • Step-by-step guide to creating a campaign
      • Naming Conventions
      • Versioning control in a campaign
    • Factions
      • Adjusting Factions in the game
      • Creating new factions
      • Global factions
      • Using Personal Reputations
    • Stores and merchants
      • Issues with stores in patch 1.05
    • Testing
      • Debugging
      • Using the ScriptDebugger
      • GameFAQs: Debug Commands
      • TweakGuides: Debug Commands
    • 3.5 Ruleset
      • Encounter Calculator
      • The experience formula
    • World Maps
      • OE: Instructions for creating world maps
      • Sunjammer's World Map Guide
      • Additional information for world maps
      • Jaks' Realistic world maps
      • Script examples from the OC
        • ka_hotspot_click
        • kinc_worldmap
        • gtr_world_map_cl
        • ka_hotspot_click_force
        • ka_hotspot_show
        • kc_hotspot_show
        • kinc_module1000
        • kinc_module1700
    • Custom Content
      • Deployment and Installation of Custom Content in NWN2
      • Using hak files
        • ERFinder
        • Encapsulated Resource File Editor
      • Adding music to your module
      • Loading screen tips
      • Prestige Class Creation
      • Rogue Dao: Custom Terrain Types
      • TLK files
      • pfb files
    • Effects
      • DLA Tutorial: Effects
      • nwn2toolset: Visual Effects Plugin Tutorial
      • pfx/bbx/sef
    • User Interface
      • Machinations: Change your name
      • OEI: UI Customization blog posts
    • Lists
      • Complete Lootable Items Lists
      • Patches
        • 1.13
      • Recipes, all of them
    • Bringing it all to life
      • Choice vs. Linear Plot in CRPGs
      • Creating an installer
      • Drow
      • FRW: Treasure guidelines
      • Gamasutra: The Ecology of Game Design
      • Names
        • Kobold Names
        • Name generators at Grey's Castle
        • Samuel Stoddard's Fantasy Name Generator
        • Seventh Sanctum: Name Generators
        • The Realm's of Otara: Drow Names
      • Puzzles
        • Examples
          • NWN1: HotU Puzzles
        • Tea Leaves: Puzzles
      • Tea Leaves: There and back again
      • Things to avoid
      • Wiki: Abeir-Toril
      • WotC: Adventure Builder Archive
    • DMFI
      • Issues with the DM client as of 1.10
    • FAQ
    • Links
      • Additional Resources for builders
      • Forums
      • General information about nwn2
      • Project Websites

Resources for Builders

  • Getting Started
  • Areas
  • Blueprints and Objects
  • Conversations
  • Scripting
    • Variable scope
    • Add From Template
    • Common Tasks
      • Ambient Animations
      • Changing area music with a trigger
      • Death and Respawn
      • GetGoldPieceValue()
      • Lugoun's Find and replace a word in a string
      • Making a creature lay down
      • Making an invisible object cast a spell at the PC
      • NWScript: Giving gold in a conversation
      • NWScript: Levers and doors
      • NWScript: Object Creation
      • Scripted Waypoints
      • Sitting
      • Starting a conversation with a placeable
      • Treasure
      • Wandering Monsters
    • Companions
    • Groups
    • Naming Conventions
    • Opening system scripts
    • Spells and spell hooks
    • Visual Effects
    • Switches
  • Campaigns
  • Factions
  • Stores and merchants
  • Testing
  • 3.5 Ruleset
  • World Maps
  • Custom Content
  • Effects
  • User Interface
  • Lists
  • Bringing it all to life
  • DMFI
  • FAQ
  • Links

User login

  • Create new account
  • Request new password

Subscribe

Subscribe to our RSS feed:

Home > Resources for Builders > Scripting

Common Tasks

Here are some common scripting tasks.

  • Ambient Animations
  • Changing area music with a trigger
  • Death and Respawn
  • GetGoldPieceValue()
  • Lugoun's Find and replace a word in a string
  • Making a creature lay down
  • Making an invisible object cast a spell at the PC
  • NWScript: Giving gold in a conversation
  • NWScript: Levers and doors
  • NWScript: Object Creation
  • Scripted Waypoints
  • Sitting
  • Starting a conversation with a placeable
  • Treasure
  • Wandering Monsters
‹ Area OnClientEnter CutsceneupAmbient Animations ›
Submitted Jan 7 2007 - 7:54pm by vendalus
  • Printer-friendly version
  • Login or register to post comments
Resources | About | Contact Us

Privacy Policy: I'll never bug you or sell your email address.
© wendersnaven.com 2007, etc.

Random image

Spirit Rock: Battle with an animal spirit

Poll

New Resources

  • Load Screens
  • Scripted Waypoints
  • Groups
  • Changing area music with a trigger
  • GetGoldPieceValue()
  • Samuel Stoddard's Fantasy Name Generator
  • Ambient Animations
  • Multiplayer and NWN1 vs NWN2 style
  • Drow
  • Creating an installer
more