NvcSetXXX


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.