En:SaveValue

Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.

Содержание

Syntax

SaveValue(key : String, 
          value : BasicType, 
          value_type : ValueType)

Description

Save variable value with specified key in data repository;

Parameters

  • key - string. Identifier which associate whith value;
  • value - basic type. Variable or explicit value of basis type;
  • value_type - enumeration ValueType. Data type of value parameter. Is necessary for right accept with it in repository;

Result

The procedure returns nothing;

Example

procedure OnInitialization()
    SaveValue("inventoryCreated", 0, ValueType.Number);
    PlayMusic("WIND1"); // load music for menu
endprocedure

See also

  1. LoadValue
  2. isValueExists
  3. RemoveValue
  4. General procedures and functions
Личные инструменты