Nw i0 2q4luskan

From NWN Lexicon
Jump to navigationJump to search



nw_i0_2q4luskan

Generic plot and global setting functions for 2Q4 (Luskan plot include).

Constants

Name Value Brief Description
NW_2Q4_BULLS_STRENGTH 0x00000009 Dual state - Fire and Earth
NW_2Q4_CATS_GRACE 0x00000003 Dual state - Fire and Air
NW_2Q4_CLARITY 0x0000000E Triple state - Air, Water and Earth
NW_2Q4_COLMARR_AIR_LEVER 0x00000002 Related to the potion machine.
NW_2Q4_COLMARR_FIRE_LEVER 0x00000001 Related to the potion machine.
NW_2Q4_COLMARR_STONE_LEVER 0x00000008 Related to the potion machine.
NW_2Q4_COLMARR_WATER_LEVER 0x00000004 Related to the potion machine.
NW_2Q4_CURE_MODERATE 0x00000006 Dual state - Water and Air
NW_2Q4_CURE_SERIOUS 0x0000000B Triple state - Fire, Air and Earth
NW_2Q4_ENDURANCE 0x0000000C Dual state - Water and Earth
NW_2Q4_ENGINE_AID 0x00000002 Single state - Air
NW_2Q4_ENGINE_BARKSKIN 0x00000008 Single state - Earth
NW_2Q4_ENGINE_CURE_LIGHT 0x00000004 Single state - Water
NW_2Q4_ENGINE_IDENTIFY 0x00000001 Single state - Fire
NW_2Q4_ENGINE_STATE_OFF 0x00000000 Levers all off.
NW_2Q4_ENGINE_STATE_ON 0x0000000F Levers all on gives sewage.
NW_2Q4_FOXS_CUNNING 0x00000005 Dual state - Fire and Water
NW_2Q4_INVISIBILITY 0x0000000A Dual state - Air and Earth
NW_2Q4_SPEED 0x00000007 Triple state - Fire, Air and Water
PLOT_2Q4_ITEM_BARAM_BASE_KEY 2
PLOT_2Q4_ITEM_ERBS_RING 3
PLOT_2Q4_ITEM_KURTH_BASE_KEY 1



Functions

Name Brief Description

AssignPCDebugString

Causes the nearest PC speak a string.

CreateColmarrPotion

Creates potions for Colmarr's Machine.

CreateObjectVoid

Similar to CreateObject() but does not return the object created.

FaceNearestPC

Causes an NPC to face the nearest visible PC.

GetCanSeePC

Determines if a creature can see a PC.

GetHas2Q4PlotItem

Test if the object has the specified plot item

GetLocalPlotIntFromCharacter

Retrieves the generic plot flag off of a creature.

GetMachineState

Get the state of one lever

Give2Q4PlotItem

Gives a Luskan plot item to the PC speaker.

MoveTo2Q4PlotPoint

Makes the caller walk to a waypoint.

PlayConversationAnimation

Makes caller face a PC and play an animation.

SetLocalPlotIntOnCharacter

Sets a plot-specific integer on a creature.

SetMachineState

When PC uses specific machine in City of Luskan in Original Campaign, sets the machine for operation or not.



 author: Charles Feduke, editor: Mistress