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
);

Parameters

nCondition

bValid


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.



Remarks

Part of the Original Campaign Module. File :nw_i0_2q4luskan.nss: Line 38


Requirements

#include "nw_i0_2q4luskan"

Version

1.29

See Also

functions: GetMachineState
categories: Module Specific Functions


 author: Jody Fletcher