Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: kdimas on September 27, 2013, 11:40:36 PM

Title: Format String Action Bug[SOLVED]
Post by: kdimas on September 27, 2013, 11:40:36 PM
Here's my submitted bug report, maybe someone in this forum has similar experience while using Format String Action

== What happened ==
Format String is not updating when FSM is not focused in the editor window.

== How can we reproduce it ==
- Create 1 FSM
- Create 1 idle state, with FINISHED event leading to "State 2"
- Create int variable, with default value = 200, namely "myIntVal"
- In state 2, do following actions in order
    - Set Int Value (set myIntVal to 1)
    - Format String (format = "{0}", 1 variable, using myIntVal, every frame)
    - Set GUI Text from Format String result (every frame)
- Select this FSM and play the game, the text will be updated
- Select other GameObject and play the game, the text will always show "200" (default myIntVal),
  when you reselect this FSM, the value will be updated
 
== My Workaround ==
I changed Format String action to Convert Int To String, and it was updated properly.
Title: Re: Format String Action Bug
Post by: Loganou974 on October 09, 2013, 03:18:01 AM
Same Here. I am using the "Format String" Action a lot of time in our project. The thing is, since i've installed the latest version of Playmaker, this action won't work properly. Float, Int, or whatever, it worked fine before and now it won't.

Please help us with this problem, we wanted to release our game soon before Halloween and this bug is king of huge for us...
Title: Re: Format String Action Bug
Post by: Seigyo974 on October 09, 2013, 03:32:31 AM
Hello,

I've got this problem too :(
Title: Re: Format String Action Bug
Post by: jeanfabre on October 09, 2013, 06:01:32 AM
Hi,

Can you test with this fix?

If that works, it will be in the next update.


bye,

 Jean
Title: Re: Format String Action Bug
Post by: kdimas on October 09, 2013, 06:49:03 AM
That file fixed FormatString bug :) thanks!
Title: Re: Format String Action Bug
Post by: Loganou974 on October 09, 2013, 10:17:33 AM
Ok, this "Hero Member" Title, this is not a joke ! Someone please give him a medal ! Thank you A LOT !
Title: Re: Format String Action Bug
Post by: jeanfabre on October 09, 2013, 12:56:02 PM
Hi,

 Actually, Credits go to Mizerski Maciej ( don't know his member name sorry :) )

bye,

 Jean
Title: Re: Format String Action Bug
Post by: Korindian on October 18, 2013, 04:36:51 AM
I thought I was doing something wrong when the same thing happened to me. Thanks for the fix... will it be included in the next Playmaker version?
Title: Re: Format String Action Bug
Post by: jeanfabre on October 21, 2013, 02:16:13 AM
Hi,

 Unlikely. Custom actions will remain separated from the official build, otherwise it would start being too much. Hopefully, one day PlayMaker will offer its own "action store" of some sort to conveniently manage custom actions in one place.

[EDIT] Yes, of course, it's an official action, sorry, I did not read your question properly...

 Bye,

 Jean
Title: Re: Format String Action Bug
Post by: doppelmonster on November 05, 2013, 06:31:09 AM
+1
It fixed the problem!

Why is it unlikely to have the fix in the next update? or are you referring to something else?
Title: Re: Format String Action Bug
Post by: jeanfabre on November 05, 2013, 08:42:42 AM
Hi,

 Sorry, I have not replied properly, indeed this will be part of the next update since it's an official action. d'oh...


Bye,

 Jean
Title: Re: Format String Action Bug
Post by: Mike on November 19, 2013, 07:40:17 PM
I can also confirm that this fixed my problem as well.  Thanks to those who fixed it, and those who reported it!