Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: antoripa on October 10, 2016, 09:23:58 AM

Title: Global Variable vs Read Variable from FSM
Post by: antoripa 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
Title: Re: Global Variable vs Read Variable from FSM
Post by: djaydino 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
Title: Re: Global Variable vs Read Variable from FSM
Post by: antoripa on October 12, 2016, 02:28:23 PM
Thanks.
I am using get/set and you confirm that is fine
Title: Re: Global Variable vs Read Variable from FSM
Post by: Kemono 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.
Title: Re: Global Variable vs Read Variable from FSM
Post by: djaydino 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