SetMachineState
From NWN Lexicon
Contents |
[edit] SetMachineState(int, int)
When PC uses specific machine in City of Luskan in Original Campaign, sets the machine for operation or not.
void SetMachineState( int nCondition, int bValid );
[edit] Parameters
nCondition
bValid
[edit] Description
Set the new state of the machine after the lever is pressed.
After getting the status of the local variable (2Q4_ColmarrEng) determines if machine state can be changed, then alters the local variable (NW_2Q4_COLMARR_MACHINE_LEVER_STATE) as needed.
[edit] Remarks
Part of the Original Campaign Module. File :nw_i0_2q4luskan.nss: Line 38
[edit] Requirements
#include " nw_i0_2q4luskan "
[edit] Version
1.29
[edit] See Also
functions: |
author: Jody Fletcher