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.

Topics - Litow

Pages: [1]
User Showcase / Fermented Herrings!
« on: September 28, 2018, 03:24:10 PM »
Thank you Playmaker!... second app made entirely in playmaker :)

Make fun of friends with some clever articles... ;)

PlayMaker Help / SOLVED Get array value as an integer
« on: April 13, 2018, 10:39:21 PM »
Super newbie question.
Trying to collect the first index of the largest integer under an array.

How does one collect array values in the first place... ahahahah
I tried to copy a few options.
I cant get this to work no matter how i switch variable types around.
Or. How do you cast them??

EDIT: the code solution below as well...

        private void DoGetIndex()
            if (array.IsNone)

            currentIndex = 0;
            tmpValue = 0;
            finalIndex = currentIndex;
            arrayLength = (int)array.Length;

            if (arrayLength == 1)
                index.Value = currentIndex;
                while (currentIndex < arrayLength)

                    arrayValue = (int)array.Get(currentIndex);

                    if (arrayValue > tmpValue)
                        tmpValue = arrayValue;
                        finalIndex = currentIndex;

                index.Value = finalIndex ;


User Showcase / iMoodee
« on: April 07, 2018, 07:18:10 AM »
100% playmaker.. :)

iMoodee by ReelMatters Limited

PlayMaker Help / new line into UGui Text Set Text (again?) [SOLVED]
« on: November 24, 2017, 03:14:48 PM »
I apologize up front.
I played with Playmaker for a couple of months and got 90% of my app done flawlessly. Xmls, multiple canvases interaction, animated sprites and all. But I feel like a complete newbie asking this.

I browsed the forum up and down and tried as many suggestions I could find. But for whatever reason I still cannot get to replace a comma in a string variable with a new line, and use that to set a Text component.
I can see the comma getting replaced, but the text always ends up being shown as one line.

I could use the StringAddNewLine action. But my string is actually made out of about 30 lines, comma divided. Before having to enter each one into an Element of that action I would like to find out the more elegant solution.

I tried StringSplit the comma into a StringJoin using any combination of new line shortcut separators I know of and/or found around.
  \\n //n \\r\\n //r//n \r\n /r/n <br>
As well as manually copying a new line from a text editor and pasting it into the separators or a variable.
To no avail.

I also tried a simple BuildString with all the same options. Same failure.

I tried a StringReplace. Same.

Reading the forum, i understand this "may" be a limitation of how Unity2017 ingests strings.

But given that I can add my own new line text directly into the component.
I thought to ask here Im not missing something obvious. So...

Given a very long variable string like this:

How could one programmatically break that to set UGuiTextSetText's Text so that the component resolves:

Please.... :)
Im using Playmaker 1.8.5 on a mac and Unity2017

PlayMaker Help / SOLVED - Trouble storing an XML Reference into a Proxy
« on: September 07, 2017, 11:51:44 PM »
I apologize up front for the newbie question.
I went through the forum and online for hours and watched all the videos from @djaydino... thank you, thank you, thank you for those... ;)

But Im still struggling with this XML Create Node.
I tried variations over variations. And it always errors, without telling me why... :(

I got all to work (as per tutorials) and managed to nicely read my xml into a new reference (as well as store it into a hash table). As seen in the first attachment

But when I try to add a new entry with an XML Create Node. No matter how I format that node, it always errors... like in the second attachment.

Tried a few variations, between which those in the third attachment

That node looks pretty straightforward. I must be doing something silly. But cant wrap my head around it, yet. Id appreciate some hints...

The xml reference Im coming from is also pretty sraightforward... but im thinking there must be a conflict in there somewhere... ? maybe?

<MOOD id="20170907" type="internal" mood="happy"></MOOD>
<MOOD id="20170908" type="external" mood="sad"></MOOD>

This is from a fresh install of the latest unity and datamaker (as of 2-3 days ago).
And... Thank you in advance...

Pages: [1]