Sigil NWN2 PW Wiki
Advertisement

The Multi-purpose exploration script works through a high number of variables, however you can work with just about as small number as you'd like also. But for the sake of giving an idea what all it can do...

  • Open a conversation
  • Make a skill check against a DC
  • Give a message upon success and/or failure
  • Give experience
  • Give gold
  • Give item(s)
  • Alter how often it can be triggered
  • Handle quests (in relatively linear way)
  • Upon failed skill checks, apply damage, ability damage and/or level drain
  • teleport to a waypoint
  • create a placeable to a waypoint
  • create a creature to a waypoint
  • create a placed effect to a waypoint

There is two ways to use the script. It can be added either to a trigger, or it can be added to a trigger.

Creating a placeable

WPPLA (string) - This defines the waypoint where the placeable is put to. It'll take orientation from the waypoint.

PLACEABLE (string) - Defines which placeable gets created by template name.

PLADURATION (float) - This is the duration until the placeable gets removed. (default 300 seconds)

Creating an effect

WPEFF (string) - Defines where the placed effect is created to.

EFFECT (string) - Defines which placed effect is used by template name.

EFFECTDURATION (float) - Defines when the placed effect disappears. (default 30 seconds)

Creating a creature

WPCRE (string) - This defines where the creature is placed by waypoint tag name.

CREATURE (string) - This defines which creature is created, by template name.

CREDURATION (float) - This defines how long will it take until the creature disappears. (default 300 seconds)

Quest Nodes (FAILMESSAGE can be used to give feedback in absence of prerequesites, can be used to start quests from scratch)

QUESTTAG (string) - TAG of the quest you want it to be tied to.

HASQUESTENTRY (integer) - This check will be used to see the required journal entry ID to be to trigger.

GIVEQUESTENTRY (integer) - This indicates which journal entry ID to give to the player.

BACKTRACKQUEST (integer) - This is like the above, except it can override the result. Meaning that you can go back to earlier quest entries.

"Cool Down":

TRIGGERDELAY (float) - Using seconds to see how long until the trigger can be... well triggered again. (Default is 900.0)

Skill Roll SKILLTYPE (integer) - Defines what skill is being rolled. It uses skills.2da ID numbers. For kindness sake, below is a cheat list.

SKILLDC (integer) - Defines against what DC the player will be rolling.

1 = Concentration | 12 = Diplomacy | 22 = Craft Traps 2 = Disable Trap | 13 = Sleight of Hands | 23 = Bluff 4 = Heal | 14 = Search | 24 = Intimidate 5 = Hide | 15 = Set Traps | 25 = Craft Armor 6 = Listen |16 = Spellcraft | 26 = Craft Weapon 7 = Lore | 17 = Spot | 27 = Craft Alchemy 8 = Move Silently | 18 = Taunt | 29 = Survival 9 = Open Lock | 19 = Use Magic Device 10 = Parry | 20 = Appraise 11 = Perform | 21 = Tumble

Means to Damage User

DAMAGE (integer) - defines the amount of unresistible magic damage you'll take if you fail skill roll.

ABIDAMTYPE (integer) - defines what kind of ability gets hurt. 0=Str, 1=Dex, 2=Con, 3=int, 4=wis, 5=cha.

ABIDAMAGE (integer) - defines how many ability point damage you get.

NEGATIVELEVEL (integer) - defines how many levels you will lose.

Non-Conversation Message

MESSAGE (string) - You can write a message that the trigger gives without a conversation to you here, this comes upon successful skill roll.

FAILMESSAGE (string) - Incase you fail a skill roll, this is the message that comes up instead.

Gold/EXP/Items

GOLD (integer) - You can set how much gold is given.

EXP (integer) - You can set how much exp is given. Currently raw exp, not ECL modified.

ITEMTAG (string) - Misleading name, actually uses resref. Made some changes later, but not to name. Anyway this defines what item to give.

ITEMQUANTITY (integer) - This here instead defines how many of those earlier items to give. (Default is 1)

Conversations:

CONVO (string) - Defines conversation name which to open.

Porting to WP

WP (string) - Set here the TAG of the WP you want the player to port to.

Advertisement