playMaker

Author Topic: Level loading float variable?  (Read 12545 times)

derkoi

  • Full Member
  • ***
  • Posts: 187
Re: Level loading float variable?[SOLVED]
« Reply #15 on: January 16, 2013, 06:51:04 AM »
The only difference from my scene i can see is that I don't use a loaded event, maybe try yours without.

Also, because my scene loads faster on my PC the load bar only updates once, however on my iPhone & iPad it updates a couple of times, depending on the blocks loading i think.
« Last Edit: January 06, 2014, 08:31:52 AM by jeanfabre »

TommyA

  • Playmaker Newbie
  • *
  • Posts: 26
Re: Level loading float variable?
« Reply #16 on: January 16, 2013, 07:44:25 AM »
Oh, It works!
When I import on my iPhone, it works.
It still looks dosen't works on Unity program but works on the iPhone.
Thank you in advance Derkoi. :)

derkoi

  • Full Member
  • ***
  • Posts: 187
Re: Level loading float variable?
« Reply #17 on: January 16, 2013, 08:36:47 AM »
Great stuff, I think it needs a build to work correctly.  :)

aLDime

  • Playmaker Newbie
  • *
  • Posts: 24
    • http://aldimegame.com/
Re: Level loading float variable?
« Reply #18 on: November 25, 2013, 07:05:17 AM »
Hi all, how you got "Set Property / UISlider / etc"

aLDime

  • Playmaker Newbie
  • *
  • Posts: 24
    • http://aldimegame.com/
How you got "Set Property / ***UISlider ***/ ..."???
« Reply #19 on: November 25, 2013, 08:08:14 PM »
That no one knows the answer to such easy question?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Level loading float variable?
« Reply #20 on: November 28, 2013, 02:59:12 AM »
Hi,

 You simply drag the "UISlider" in the State stack and Playmaker will ask you if you want to "Set" or "Get" a property from UIslider.

Bye,

 Jean

aLDime

  • Playmaker Newbie
  • *
  • Posts: 24
    • http://aldimegame.com/
Re: Level loading float variable?
« Reply #21 on: November 30, 2013, 01:16:00 AM »
Hi Jean,
I understand that should be simple, but I have no Object Type UIslider property ..
instead of this I have Unity Engine GO:
« Last Edit: November 30, 2013, 01:22:35 AM by aLDime »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Level loading float variable?
« Reply #22 on: December 02, 2013, 01:52:09 AM »
Hi,

 yes, because you are dragging the gameobject, you need to drag the component itself,  then you will have access to that component class public variables.

bye,

 Jean

aLDime

  • Playmaker Newbie
  • *
  • Posts: 24
    • http://aldimegame.com/
Re: Level loading float variable?
« Reply #23 on: December 02, 2013, 02:35:06 AM »
Thanks a lot, Jean, everything works fine, the only thing you have not explained that FSM must be on the my "Progress Bar Loading" (on Slider), otherwise access to the component is not possible, but this is what I guessed myself;)
Just a big thank derkoi for a very valuable custom action!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Level loading float variable?
« Reply #24 on: December 02, 2013, 02:36:32 AM »
Hi,

 nop, the fsm can be anywhere, you don't need to be on the same gameobject of the component you want to access.

 what you may struggle with is the technic to actually have two unity inspector or simply lock the fsm so that you can select another gameobject and then drag one of its component.

bye,

 Jean

aLDime

  • Playmaker Newbie
  • *
  • Posts: 24
    • http://aldimegame.com/
Re: Level loading float variable?
« Reply #25 on: December 02, 2013, 03:18:56 AM »
Yes, exactly, thanks again!
Third way, just copy (Copy States) where it is necessary and remove the excess (such as Slider) ;)

derkoi

  • Full Member
  • ***
  • Posts: 187
Re: Level loading float variable?
« Reply #26 on: January 03, 2014, 09:20:21 AM »
Just a big thank derkoi for a very valuable custom action!

No problem, glad you're finding it useful.