Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ValidateId
Syntax
C++
int ValidateId(IFunctionHandler * pH, T_ItemId id);
Parameters 
Description 
T_ItemId id 
old save item id 

Syntax: ItemManager.ValidateId( id ) 

After game load this function returns new item id assigned to old item id. All item id's needs to be validated after game load! 

 

Copyright (c) 2012. All rights reserved.