Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: bendaowei on March 27, 2012, 01:46:55 AM

Title: GetProperty can't get the int value (no int store value displays) [SOLVED]
Post by: bendaowei on March 27, 2012, 01:46:55 AM
There is no store value for GetProperty when int type selected.
Please look into the attachment and set the object as EZGUI, UIPanel, int type.

Could you tell how to fix this bug or when will next version of playmaker be published with this bug fixed?
Title: Re: GetProperty can't get the int value (no int store value displays)
Post by: Alex Chouls on March 27, 2012, 02:07:04 AM
I just tested here and int properties seem to work fine... Are you sure the property you're targeting is an int type? I don't have EZGUI to test with...
Title: Re: GetProperty can't get the int value (no int store value displays)
Post by: jeanfabre on March 27, 2012, 04:01:04 AM
Hi,

 I tested here ( tho without your asset, I am not sure how to load a .asset file, how did you get that asset?, make a package instead, tho for license reason, you are not allowed to distribute EZGUi scripts... so)


 I have created a Fsm Object variable, set it to type "UIPanel", then select an GameObject with a UiPanel
and there is only one property "index" as int. And it seems to work.

 So, what property of the uiPanel are you exactly looking for?

 Maybe you are missing a procedure, for example, using get property action on a gameObject will nto show the various component s( tho it could be nice Alex :) ) so you have to make a FsmObject variable first and set it up to the object type you want, then you'll have access to all these properties to store values from.

 Bye,

 Jean
Title: Re: GetProperty can't get the int value (no int store value displays)
Post by: bendaowei on March 27, 2012, 09:51:48 PM
The component variable should set the default object value. fixed, thanks.