playMaker

Author Topic: GuiLabel On Top Of GameObject[SOLVED]  (Read 2052 times)

Demonocrat

  • Playmaker Newbie
  • *
  • Posts: 14
GuiLabel On Top Of GameObject[SOLVED]
« on: August 25, 2013, 06:30:06 AM »
Hi!
I'm trying to make GUILabel to show up on top of gameobject.
I tried this setup: http://take.ms/SARcf but it shows up nothing (variables are ok, I tried to change label text to "123" and it still showed nothing).

What i did wrong?
« Last Edit: September 10, 2013, 02:30:03 AM by jeanfabre »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: GuiLabel On Top Of GameObject
« Reply #1 on: August 25, 2013, 02:02:54 PM »
The action setup looks fine. I suspect one of the variables doesn't contain what you think it does...

If you hit Debug in the State Inspector you can see the values of your variables.

Demonocrat

  • Playmaker Newbie
  • *
  • Posts: 14
Re: GuiLabel On Top Of GameObject
« Reply #2 on: August 25, 2013, 02:17:23 PM »
Yeah! You were right =) I was getting game object from another FSM that supposed to get it at the launch of the scene, so i thought it would be fine to just grab it from there at the first frame, but it looks like it was not a good idea =)
I made independent "get owner" for the FSM, and it worked!

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: GuiLabel On Top Of GameObject
« Reply #3 on: August 25, 2013, 02:32:36 PM »
Great! :)