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
[править]