OnCharVarChanged

From Nutscript Developer Wiki
Jump to navigation Jump to search
   GM:OnCharVarChanged(char, varName, oldVar, newVar)

Description[edit]

This function is called when character's networking variable is just changed. The variables means important character's variables which is money, attributes, desc, name... This can be used to tracking the change of the player's characters.

Arguments[edit]

  • Character char
  • String varName
  • Variable oldVar
  • Variable newVar

Return Values[edit]

return none

Examples[edit]

none.