nw_i0_2q4luskan

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

Constants

NameValueBrief Description
NW_2Q4_BULLS_STRENGTH0x00000009Dual state - Fire and Earth
NW_2Q4_CATS_GRACE0x00000003Dual state - Fire and Air
NW_2Q4_CLARITY0x0000000ETriple state - Air, Water and Earth
NW_2Q4_COLMARR_AIR_LEVER0x00000002Related to the potion machine.
NW_2Q4_COLMARR_FIRE_LEVER0x00000001Related to the potion machine.
NW_2Q4_COLMARR_STONE_LEVER0x00000008Related to the potion machine.
NW_2Q4_COLMARR_WATER_LEVER0x00000004Related to the potion machine.
NW_2Q4_CURE_MODERATE0x00000006Dual state - Water and Air
NW_2Q4_CURE_SERIOUS0x0000000BTriple state - Fire, Air and Earth
NW_2Q4_ENDURANCE0x0000000CDual state - Water and Earth
NW_2Q4_ENGINE_AID0x00000002Single state - Air
NW_2Q4_ENGINE_BARKSKIN0x00000008Single state - Earth
NW_2Q4_ENGINE_CURE_LIGHT0x00000004Single state - Water
NW_2Q4_ENGINE_IDENTIFY0x00000001Single state - Fire
NW_2Q4_ENGINE_STATE_OFF0x00000000Levers all off.
NW_2Q4_ENGINE_STATE_ON0x0000000FLevers all on gives sewage.
NW_2Q4_FOXS_CUNNING0x00000005Dual state - Fire and Water
NW_2Q4_INVISIBILITY0x0000000ADual state - Air and Earth
NW_2Q4_SPEED0x00000007Triple state - Fire, Air and Water
PLOT_2Q4_ITEM_BARAM_BASE_KEY2
PLOT_2Q4_ITEM_ERBS_RING3
PLOT_2Q4_ITEM_KURTH_BASE_KEY1


Functions

NameBrief Description
AssignPCDebugStringCauses the nearest PC speak a string.
CreateColmarrPotionCreates potions for Colmarr's Machine.
CreateObjectVoidSimiliar to CreateObject() but does not return the object created.
FaceNearestPCCauses an NPC to face the nearest visible PC.
GetCanSeePCDetermines if a creature can see a PC.
GetHas2Q4PlotItemTest if the object has the specified plot item
GetLocalPlotIntFromCharacterRetrieves the generic plot flag off of a creature.
GetMachineStateGet the state of one lever
Give2Q4PlotItemGives a Luskan plot item to the PC speaker.
MoveTo2Q4PlotPointMakes the caller walk to a waypoint.
PlayConversationAnimationMakes caller face a PC and play an animation.
SetLocalPlotIntOnCharacterSets a plot-specific integer on a creature.
SetMachineStateWhen PC uses specific machine in City of Luskan in Original Campaign, sets the machine for operation or not.


 author: Charles Feduke, editor: Mistress