NvcReadXXX

From the Oblivion ConstructionSet Wiki
Revision as of 16:34, 2 November 2008 by imported>Speedo (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



A command for NVC.

(int) nvcReadInt ContainerID key:string location:string stringsource:int
                 keyStrID:int locationStrID:int

(float) nvcReadFloat ContainerID key:string location:string stringsource:int
                 keyStrID:int locationStrID:int

(ref) nvcReadRef ContainerID key:string location:string stringsource:int
                 keyStrID:int locationStrID:int

Note: All parameters should be on the same line.

  • Returns 0 if the value does not exist.
  • When using these functions to set a variable, beware of the set bug.