playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - artician

Pages: 1 2 [3] 4 5 ... 20
31
PlayMaker Help / Re: non-global Global Events
« on: March 15, 2015, 01:29:28 PM »
I may not have described my question well enough.

I understand how Send Event and related states work.  However the current functionality contradicts the documentation:
https://hutonggames.fogbugz.com/default.asp?W834

"NOTE: Events must be marked Global to send between FSMs."

Currently it's possible to send non-global events between FSMs via Send Event By Name.  So what happened?  Is the documentation wrong?  Did the Send Event restrictions change? 

32
PlayMaker Help / non-global Global Events
« on: March 13, 2015, 03:26:29 PM »
A ways back in the lifetime of this tool it was changed so that any Events sent between FSMs had to be Global.  Recently a colleague discovered that Send Event By Name could still be used to send any Event from one FSM to another without it being marked as Global.  Have I been misunderstanding this whole time the use of these Actions and nature of Global Events, or what's going on here exactly?

33
PlayMaker Help / Re: DataMaker/XPath
« on: March 12, 2015, 08:54:00 AM »
Hi Jean,

Thanks for the quick answers.  I'm looking at the new examples now.  I created a clean project, and only imported: 1-Playmaker, 2-ArrayMaker, 3-DataMaker and 4-DataMakerSamples, in that order.

After importing the DataMakerSamples, Unity reports one error:
Quote
Assets/Photon Unity Networking/Editor/PhotonNetwork/AccountService.cs(181,45): error CS0433: The imported type `Newtonsoft.Json.JsonConvert' is defined multiple times

I then loaded the scene "SelectSingleNodeAndGetProperties" under the XML/Examples/Queries folder.  Once loaded Unity reports this error:
Quote
Query: Select Single Node and get properties: State 1: XmlSelectSingleNode: Failed to convert Array: xPathVariables From: CustomClass To: FsmString
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(String)
HutongGames.PlayMaker.ActionData:TryConvertParameter(FsmStateAction, FieldInfo, Int32)
HutongGames.PlayMaker.ActionData:TryRecoverAction(Type, FsmStateAction, Int32)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckFsmForErrors(Fsm)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckForErrors()
HutongGames.PlayMakerEditor.FsmErrorChecker:Update()
HutongGames.PlayMakerEditor.FsmEditor:Update()
FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:319)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

I'm still not able to learn anything from the sample either.  When I look at the FSM in the example scene, the Xml Select Single Node action has the same error I reported above with the "Error Editing Action.  Array index is out of range."

The action seems self explanatory, but even if I copy your xPath syntax it does not work for me in my scene.  Just for the record: all my packages are up to date and I'm on Unity 4.6.2.

Thank you as always.

34
PlayMaker Help / Re: DataMaker/XPath
« on: March 11, 2015, 09:52:07 AM »
*bump*

Sorry for the bother Jean.  I'm almost done!  Just need a bit more help to finish this.  Let me know if you get time to publish/fix the example package at least.

Thank you as always!

35
PlayMaker Help / Re: DataMaker/XPath
« on: March 09, 2015, 08:38:30 AM »
Unfortunately that means there's something else wrong.  After importing your example package into a project and looking at the FSM in the editor, I see this error:


To test this I've imported the package into a new project and two existing projects, but all show the same error.  Other than the 999+ warning messages I mentioned above, there is one error:

Quote
Query: Select Single Node and get properties: State 1: XmlSelectSingleNode: Failed to convert Array: xPathVariables From: CustomClass To: FsmString
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(String)
HutongGames.PlayMaker.ActionData:TryConvertParameter(FsmStateAction, FieldInfo, Int32)
HutongGames.PlayMaker.ActionData:TryRecoverAction(Type, FsmStateAction, Int32)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckFsmForErrors(Fsm)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckForErrors()
HutongGames.PlayMakerEditor.FsmErrorChecker:Update()
HutongGames.PlayMakerEditor.FsmEditor:Update()
FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:319)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Any help is appreciated!

36
PlayMaker Help / Re: DataMaker/XPath
« on: March 06, 2015, 09:04:33 AM »
Thank you for your help!  Unfortunately my console won't stop spamming the following errors when I import your package:

Unable to find style '' in skin 'DarkSkin' Layout
UnityEngine.GUIStyle:op_Implicit(String)
DataMakerActionEditorUtils:EditFsmXmlSourceField(Fsm, FsmXmlSource) (at Assets/PlayMaker DataMaker/_internal_/Editor/DataMakerActionEditorUtils.cs:122)
XmlSelectSingleNodeEditor:OnGUI() (at Assets/PlayMaker DataMaker/Xml/Actions/Editor/XmlSelectSingleNodeEditor.cs:23)
HutongGames.PlayMakerEditor.ActionEditor:OnGUI(FsmStateAction)
HutongGames.PlayMakerEditor.StateInspector:DoActionGUI(FsmStateAction)
HutongGames.PlayMakerEditor.StateInspector:DoActionsListGUI(FsmState)
HutongGames.PlayMakerEditor.StateInspector:DoActionsPanel()
HutongGames.PlayMakerEditor.StateInspector:OnGUI()
HutongGames.PlayMakerEditor.InspectorPanel:OnGUI(Rect)
HutongGames.PlayMakerEditor.FsmEditor:OnGUI()
FsmEditorWindow:DoGUI() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:94)
HutongGames.PlayMakerEditor.BaseEditorWindow:OnGUI()
UnityEditor.DockArea:OnGUI()

37
PlayMaker Help / Re: DataMaker/XPath
« on: March 05, 2015, 08:28:06 AM »
Bump! 

38
PlayMaker Help / DataMaker/XPath
« on: March 03, 2015, 09:54:21 AM »
I'm trying to use Data Maker and learn XPath syntax at the same time.  I've never worked with it before.  I was hoping someone could help me with the xPath syntax.

The XML files I'm processing have a slightly different format than those used in DataMakers examples.  My XML output looks like this:

Code: [Select]
<layer name="H_2_Poppy" xPos="260.5"  yPos="-342"  layerwidth="91" layerheight="66" fileName="H_2_Poppy.png"/>
How would I query this and store the xPos, yPos and fileName?

Many thanks in advance!

39
PlayMaker Help / Re: Setting the anchor property on an NGUI Widget?
« on: September 03, 2014, 02:02:22 AM »
Unfortunately I've not discovered any solution.  :(

40
PlayMaker Help / Re: Setting the anchor property on an NGUI Widget?
« on: August 23, 2014, 06:52:52 PM »
NGUI Author recommends I write something custom.  This would be the first time I haven't been able to solve something using Set Property.  I figure I must be missing something, but I essentially need to set the UIRect.rightAnchor, UIRect.leftAnchor, etc. 

The Set Property options in these UI objects is insanely deep and I can't make heads or tails of it.

41
PlayMaker Help / Setting the anchor property on an NGUI Widget?
« on: August 23, 2014, 05:16:13 PM »
I'm trying to use Set Property to set the object one of my NGUI widgets is set to, however I can't tell what the Property actually is.  Nothing stands out as "Anchor Target" or "Anchor" or similar.  Can anyone answer this for me?

Thanks.

42
PlayMaker Help / Re: PlayMaker Input Touches broken?
« on: July 23, 2014, 11:47:37 AM »
@Jean - Where do you live?

43
PlayMaker Help / Re: PlayMaker Input Touches broken?
« on: July 21, 2014, 08:14:20 AM »
I am running inputTouches v1.1.5, which I believe is the latest.

44
PlayMaker Help / Re: Matching smaller strings within larger strings
« on: July 09, 2014, 12:23:30 AM »
Oh that's a nice alternative I wasn't aware of (filtering services I mean). 

Either way, String Contains should work for what I need.  I am already using ArrayMaker for this, and splitting a text file of profanity to an array and checking against that.  It only needs to be very basic so I think this should work just fine.

Thank you!

45
PlayMaker Help / Re: Matching smaller strings within larger strings
« on: July 08, 2014, 03:15:19 PM »
*boink*

Pages: 1 2 [3] 4 5 ... 20