GetMachineState

From NWN Lexicon
Revision as of 01:30, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search



GetMachineState(int)

Get the state of one lever

int GetMachineState(
    int nCondition
);

Parameters

nCondition

Must be TRUE to have a chance of returning TRUE.


Description

Returns TRUE if the Local Int called "NW_2Q4_COLMARR_MACHINE_STATE_LEVER" exists on an object with the tag "2Q4_ColmarrEng" and nCondition variable passed in is TRUE.



Remarks

Found in nw_i0_2q4luskan.nss on line 40


Requirements

#include " nw_i0_2q4luskan "

Version

1.22

See Also

functions: 

SetMachineState



 author: John Shuell