Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: autumnboy on April 08, 2017, 07:21:41 PM
-
Hi, Updated playmaker and datamaker and Xml get node Properties action seems to not let me put any variables in the property field or if there is a reference field or variable field in the source selection that gets the variable instead.
get this error as well when selecting the property field:
ArgumentException: Object type HutongGames.PlayMaker.FsmString cannot be converted to target type: HutongGames.PlayMaker.FsmEvent
Parameter name: val
Using Unity: 5.5.0f3
Playmaker: 1.8.2.f7
thanks for your time
Josh
-
Hi,
Yes, it's a know issue, I hope to release in any day a version with new versions of them actions that will be compatible with 1.8
Bye,
Jean
-
Hi,
I can put variables in now with no problem. But, when I specify an attribute from an xml file I want to store as a variable it grabs every attribute and stores it.
Example:
Xml contains:
<Player1>
<Lives>1</Lives>
<Lvl>2</Lvl>
<UP>3</UP>
</Player1>
Properties node grabs 'Lives' and stores it as: 123
Thanks for your time,
Josh
-
Hi,
This is typically because your xpath is not correct: can you show me that xpath you are using?
also in your example, there is no attributes, attributes would look like:
<Player1 @lives="1" @Lvl="2" @UP="3">
</Player1>
https://www.w3schools.com/xml/xml_attributes.asp
Bye,
Jean
-
Okay my bad, I'll set up attributes.
My xpath is: /PlayerStats/Player1
Thanks for your time,
Josh