playMaker

Author Topic: Global versus Local Variable Naming  (Read 7741 times)

phannDOTde

  • Full Member
  • ***
  • Posts: 237
    • Peter Hann .de
Global versus Local Variable Naming
« on: December 14, 2015, 05:15:41 PM »
"Never" name Local Variable the same as a Global Variable - if they are used in the same FSM it might lead sometimes to the situation that all Variables in that FSM Action point only to the Local Variable instead of both i.e. "GlobalFloat" set Float "LocalFloat" becomes "LocalFloat" set Float "LocalFloat".