Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetPhaseById
Syntax
C++
int SetPhaseById(IFunctionHandler* pH, uint id);

Syntax: self.item:SetPhaseById(id) 

Sets phase of this objects by phase id and reload its model. Id is absolute phase from 0 to max phases. Max phases needs to be known from DB. 

 

Copyright (c) 2012. All rights reserved.