Difference between revisions of "NvcReadXXX"
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 | (int) nvcReadInt ContainerID key:string ''location:string key:string_var location:string_var'' | ||
(float) nvcReadFloat ContainerID key:string ''location:string | (float) nvcReadFloat ContainerID key:string ''location:string key:string_var location:string_var'' | ||
(ref) nvcReadRef ContainerID key:string ''location:string | (ref) nvcReadRef ContainerID key:string ''location:string key:string_var location:string_var'' | ||
'''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
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
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.