playMaker

Author Topic: Global Variable vs Read Variable from FSM  (Read 1701 times)

antoripa

  • Playmaker Newbie
  • *
  • Posts: 2
Global Variable vs Read Variable from FSM
« on: October 10, 2016, 09:23:58 AM »
Hi,
I would know what is the difference, if any, in term of perfomance between using a Global Variable or read a Variable from another FSM

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Global Variable vs Read Variable from FSM
« Reply #1 on: October 12, 2016, 08:30:28 AM »
Hi,
I worked wit both (now more with get/set fsm) and i can't notice any difference
what is a difference, is that global variable are easier to hack

antoripa

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Global Variable vs Read Variable from FSM
« Reply #2 on: October 12, 2016, 02:28:23 PM »
Thanks.
I am using get/set and you confirm that is fine

Kemono

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Global Variable vs Read Variable from FSM
« Reply #3 on: October 12, 2016, 07:30:56 PM »
thanks @djaydino
I've also been wondering about this, from what I've heard (others have told me), is that the program broadcasts global variables so it's easy to read externally.
Personally, I don't use them anymore because, for me, it becomes a royal mess once I have a couple of dozen variables.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Global Variable vs Read Variable from FSM
« Reply #4 on: October 13, 2016, 05:19:28 AM »
Hi,
When i need a variable for multiple fsm's i still use globals most of the time.
and use the category to sort them