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 - westingtyler

Pages: 1 [2] 3 4 ... 15
16
Action Requests / String to Float with Case for if Invalid
« on: November 13, 2018, 03:10:15 PM »
My game keeps hanging when players put in a time string, then the String to Float can't handle it. Would be great if there was a case in this action for "do if not a valid float/or is empty".

17
Action Requests / Re: Get Color Variable's Hex Value as a String?
« on: November 13, 2018, 12:41:25 PM »
well, fancy coding or not, it requires users to understand more than just how playmaker works, which partially defeats the point of using playmaker, but also presents a potential learning opportunity.

does this work now? someone had an issue with it, but it would be cool to use if it works.

18
Action Requests / Get Float Right
« on: November 13, 2018, 11:48:38 AM »
Hello. I need an action that gets the rightmost two places of a float variable. currently I have to convert the float to a string, get string right 2, then convert that to a float again.

so if the input float is 632, the result of this action would be 32.

also it would be great to have a similar one for get float left. thanks!

19
Feature Requests / Hide/Reduce Size of the FSM "Inspector" Window?
« on: November 05, 2018, 08:28:04 PM »
Hello. It would be nice to have a little icon at the top of an FSM in the editor, and if you click it, it totally hides the right-side "inspector" window - the part of the editor with tabs like FSM, STATE, EVENTS, VARIABLES.

It would also be nice to be able to reduce its size FURTHER, as it has a "minimum" size that still takes up a lot of space, especially on my computer that has text size at 150%.

Reducing or hiding the window would make it easier to view my FSM and also to perform some specific actions (I'm currently copying a state from one FSM into several, meaning I don't need this window at all, just to see the main editor itself.)

20
Action Requests / Check if String is a Valid Hex Code (for Color Variables)
« on: November 04, 2018, 11:53:58 PM »
players can type a string, then the game sets the ambient color value to that. But what if they type a string that is too long, or isn't a valid color, or has weird symbols? i need an action that checks the string, then says yes or no, so I can send an event that provides a case to deal with that.

21
I want to slowly shift the FOV of the camera from a high value to a low one when the player changes views. (90 in first person, 60 in 3rd person.)

I can't figure out how to do it. I got Float Lerp and Float Lerp advanced, but it just seems to jiggle between the high and low value.

I thought lerp was a continuous operation that moved from one number to the other? What action should I use to slide one number to the other?

22
Action Requests / Re: get text mesh pro total page count?
« on: October 23, 2018, 09:23:58 AM »
bump. can anyone help with this, given my last post in the thread?

23
In the Submit Bug Report part of Playmaker in unity, the button that says "Submit bug report" has always been greyed out, so I have never been able to do this via Unity itself. i copied the info and pasted it here.

There's a red error thing in the bug report form that says "Unity 2017.1 has a bug that breaks this form. copy this info and email to, yada, yada."

I'm using 2018.2.4f1, though, so that's a little weird.

I just tried to duplicate this in an empty scene with one game object with tmp, and this performance hit did not happen. everything continued to work normally without lag.

Also check out the timestamps in the video, to see the other two bugs listed there in case they need looking into as well.

The making new states with descriptions bug still works in this empty scene.


24
Action Requests / "Is Int a Multiple of Another Int?"[SOLVED]
« on: October 08, 2018, 08:26:21 PM »
depending on a setting, i want a sound to play every time a loop count int is a multiple of a certain number, during a looping process. (sound on string typwriter-ing.)

Is (Current Loop Int) a Multiple of 5? YES/NO.

Is (Current Loop Int) a Multiple of 9? YES/NO.

25
Area: Editor
Frequency: Always

1) What happened

here's a video, and in the middle we see a bug I think i reported before (the second bug is shown in the middle, one I think i already reported. it seems to be tied to the Set FSM Variable action somehow.), and toward the end, I show a third bug about state description:
https://www.youtube.com/watch?v=b4vX7mgYA3s&feature=youtu.be

0:00 bug 1: obj variable lag
5:29 bug 2: Set FSM Variable state bug.
7:14 bug 3: new state description bug.

I created this fsm and was working in it. I added a Set Unity Object, to set the "needed tmp obj variable", to be another pre-designated one. Immediately that FSM became super laggy, and typing any text in states slowed to a crawl. I deleted this action, and the lag went away. I wrote a note in the start state of this template.

Then I tried using a Set FSM variable, with it set to an object, a tmp. Causes the same lag. Then i used a Set Property, which is still present in the template because it's unavoidable, and performance in that fsm has slowed to a crawl.

naming states, or typing in descriptions, types out a single character each second, even after I've pressed all the keys for the whole state name. I have to sit there and wait several seconds for the name of the state to type out.

I've had this problem with many FSMs since the last several months, and it's like even small fsms become laggy super fast, but now I've pinpointed it to this manipulation of a tmp object variable.

and any time I say tmp, I mean text mesh pros, but the 3d object versions, not the UGUI stuff I don't use. I'm still wishing for an update to this action  https://hutonggames.com/playmakerforum/index.php?topic=19225.0 : so I can use it.

i added the tmp objects to the fsm by dragging them into the variables tab.
dialoguebubble_tmp

Unity Info:
Unity Version: 2018.2.4f1
Playmaker Version: 1.9.0.f5
BuildTarget: StandaloneWindows64

System Info:
OS: Windows 10  (10.0.0) 64bit
Processor: AMD FX(tm)-4130 Quad-Core Processor
System Memory: 32749
Graphics Device: NVIDIA GeForce GTX 970

26
Feature Requests / Re: Need to Load a File in as a TextAsset object?
« on: October 08, 2018, 05:49:09 PM »
i am trying to use sql database .bytes files the player can store in a folder, then at runtime it will read those files and put them into "books" prefabs the player can find in the world and read. custom books and dialogue, etc. the goal is for players to be able to change dialogue, books, street signs, etc. by simply creating their own sql databases. I am using simplesql.

27
Feature Requests / Need to Load a File in as a TextAsset object?
« on: October 01, 2018, 11:16:32 AM »
I use Playmaker Easy Save 2 and 3 actions, and i'm trying to load a sql database file (.bytes) file from a folder into the game to use with some SimpleSql commands.

I need to set a database property that needs a TextAsset.

I can get easy save to see the file in the folder, but I am not sure how to set that file to a TextAsset Object in a Playmaker FSM, so I can then set the Property of the SQL database component using it.

I can "load" the file named "file name found with Get Files"... but how do I load it INTO a TextAsset?

Joel from Easy Save said this:

"Hi there,

Easy Save has no functionality to put data into a TextAsset, but it has a Load Raw to get the data as a string, which can be saved back to a file using the Save Raw Base 64 action.

You may want to enquire on the PlayMaker forums to see if an action exists to create a TextAsset from a string.

All the best,
Joel"

Is there an action to do this?

28
Area: Editor, Play Mode
Frequency: Always

1) What happened

I use Easy Save 2 and 3's Get Files from a folder into a string array, but the array does not appear to update in the FSM, but after that if I use Array Get, I can retrieve the strings at their appropriate indices.

here is a thread describing the problem in detail I made at the Easy Save forum, with screenshots:
https://moodkie.com/forum/viewtopic.php?f=5&t=1499&p=5140#p5140

2) How can we reproduce it

i explained it above, and in the thread i show images of the actions I used. if more is needed let me know.

Unity Info:
Unity Version: 2018.2.4f1
Playmaker Version: 1.9.0.f5
BuildTarget: StandaloneWindows64

System Info:
OS: Windows 10  (10.0.0) 64bit
Processor: AMD FX(tm)-4130 Quad-Core Processor
System Memory: 32749
Graphics Device: NVIDIA GeForce GTX 970

29
Action Requests / Re: get text mesh pro total page count?
« on: September 17, 2018, 07:05:45 PM »
Thanks. When I try to use the action, it tells me the game object needs a UGUI textmesh pro component, but it has a TextMeshPro (script) on it already. It seems there's a difference between what I use, a 3d textmesh pro object, and a ugui canvas object, which I do not use. Is there a way to make it work with the TextMeshPro script 3d game object since I don't use the Canvas stuff?

30
Action Requests / "Move Towards" Local?
« on: September 17, 2018, 01:40:20 PM »
Hello! I do a vector3 calculation, then I need my camera (a child of another independently-moving parent) to move toward that vector3 - but in local space. For example, I'm moving it along ITS X axis based on distance from the player. But currently the "move towards" action moves the camera to, say the WORLD coordinates of X - 2.27 Y 0 Z 0, instead of along its SELF X axis. Can anyone help?

Pages: 1 [2] 3 4 ... 15