NvcSetXXX
Revision as of 10:01, 14 November 2008 by imported>Speedo
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.
(success:bool) nvcSetInt value:int ContainerID key:string location:string key:string_var location:string_var (success:bool) nvcSetFloat value:float ContainerID key:string location:string key:string_var location:string_var (success:bool) reference.nvcSetRef value:ref ContainerID key:string location:string key:string_var location:string_var
Note: All parameters should be on the same line.
Sets a value in a container. If the value does not exist, it will be created.
- Returns 1 if the set was successful.
- If the value parameter of nvcSetRef is not a valid reference (0), the function will attempt to store the reference of the calling object.