Difference between revisions of "NvcReadXXX"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
(Description)
imported>Speedo
(updated)
Line 4: Line 4:
A command for [[:Category:NVC|NVC]].
A command for [[:Category:NVC|NVC]].


  (int) nvcReadInt ContainerID key:string ''location:string stringsource:int''
  (int) nvcReadInt ContainerID key:string ''location:string key:string_var location:string_var''
                  ''keyStrID:int locationStrID:int''
   
   
  (float) nvcReadFloat ContainerID key:string ''location:string stringsource:int''
  (float) nvcReadFloat ContainerID key:string ''location:string key:string_var location:string_var''
                  ''keyStrID:int locationStrID:int''
   
   
  (ref) nvcReadRef ContainerID key:string ''location:string stringsource:int''
  (ref) nvcReadRef ContainerID key:string ''location:string key:string_var location:string_var''
                  ''keyStrID:int locationStrID:int''


'''Note:''' All parameters should be on the same line.
'''Note:''' All parameters should be on the same line.

Revision as of 10:03, 14 November 2008



A command for NVC.

(int) nvcReadInt ContainerID key:string location:string key:string_var location:string_var

(float) nvcReadFloat ContainerID key:string location:string key:string_var location:string_var

(ref) nvcReadRef ContainerID key:string location:string key:string_var location:string_var

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.