NvcSetXXX

Revision as of 01:20, 26 November 2008 by imported>Speedo
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.