SetUnitData

<< Click to Display Table of Contents >>

 

SetUnitData

SetUnitData(UnitName, TemplateName, Data)

Loads to the Formula table the identified Tag for a certain Template on a certain Unit. This method contains the UnitName parameter, which is the name of a Unit, TemplateName, which is the name of a Tag's Template, and Data, which informs the name of a Tag to set to that Unit. Returns True if this operation is successful or False otherwise.

Was this page useful?