Difference between revisions of "NvcReadXXX"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
(Created)
 
imported>Speedo
(Description)
Line 14: Line 14:


'''Note:''' All parameters should be on the same line.
'''Note:''' All parameters should be on the same line.
Retrieves a value from a container.


*Returns 0 if the value does not exist.
*Returns 0 if the value does not exist.

Revision as of 16:35, 2 November 2008



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.

Retrieves a value from a container.

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