Step A. - prepare inventory locations.
См. определение в файле ReplaceItemWithNewLambdaBase.c строка 43
44 {
45 if (LogManager.IsInventoryHFSMLogEnable())
hndDebugPrint(
"[inv] ReplaceItemWithNewLambdaBase Step A) Prepare inventory locations, old_item=" +
m_OldItem);
48 {
50 {
53
54
56 {
57 vector m4[4];
58 Math3D.MatrixIdentity4(m4);
62
64 {
65 float dir[4];
68 }
69 else
70 {
72 }
73 }
74 }
75 return true;
76 }
77 else
78 Error(
"[inv] ReplaceItemWithNewLambdaBase Step A.1) failed to get old_item inventory location");
79 return false;
80 }
void hndDebugPrint(string s)
InventoryLocationType
types of Inventory Location
proto native bool ConfigIsExisting(string path)
proto native int ConfigGetInt(string path)
Get int value from config on path.
ref InventoryLocation m_OldLocation
ref InventoryLocation m_NewLocation
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.
Перекрестные ссылки CFG_VEHICLESPATH, CGame::ConfigGetInt(), CGame::ConfigIsExisting(), Error(), GetGame(), hndDebugPrint(), LogManager::IsInventoryHFSMLogEnable(), m_NewItemType, m_NewLocation, m_OldItem, m_OldLocation, Math3D::MatrixIdentity4() и path.
Используется в Execute().