Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (Action Definition)
- StoreIntWithUnit
- Parameters
- owner <unit>
- fieldname <string>
- value <int>
- Local Variables
- ID = <int> UnitGetTag(owner)
- Actions
- DataTableSetInt(true, CombineString(IntToString(ID), fieldname), value)
- (Function Definition)
- GetIntWithUnit
- Return Type: <int>
- Parameters
- owner <unit>
- fieldname <string>
- Local Variables
- ID = <int> UnitGetTag(owner)
- Actions
- Return( DataTableGetInt(true, CombineStrings(IntToString(ID), fieldname) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement