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.


Topics - mthicke

Pages: [1]
1
Playmaker Help / Keep getting Loop Exceed errors [SOLVED]
« on: July 09, 2014, 10:35:18 PM »
I've been using Playmaker for quite a while and have gone over most of the tutorials. There's still something I don't get about the structure of a playmaker FSM.

For example. I want to have an object follow my main character at a certain distance. Every time the main character moves, the other will move and then stop at a certain distance away.

I am trying to implement this by getting the distance to the character and comparing it to a float 3.

If the distance is greater it goes to the next state which uses a move towards with a finished distance of 3.

The problem is I get a loop exceeded error. Can I not loop a simple distance test like this?


>>Another way I have tried to do this is:

I have a state that gets the distance and compares it. if the distance is over the limit it advances to the next state. Get Distance and Float Compare are both set to 'Every Frame'. Problem is if I don't loop back from the 2nd state it gets stuck even if the distance is no longer greater. If I return the loop I get the max loop error.

Is it possible to continuously test a condition in Playmaker and perform some action when the condition is met? This seems basic but it keeps tripping me up.

2
Playmaker Help / mouse pick on object in 2nd camera
« on: March 10, 2014, 08:36:13 PM »
How do I register a mouseclick on an object on a 2nd camera? It seems like all of the mouse actions are based on the main camera.

Is there an OnMouseDown action?

3
Playmaker Announcements / Call Method[SOLVED]
« on: March 04, 2014, 07:27:45 PM »
Doesn't seem to work and there seems to be very little documentation. "Dragging a script" into the field is not working for me. Does the script need to be on the same object? Does it need to be C#? I've tried everything.

4
Playmaker Help / Get Vector3 from Script
« on: February 13, 2014, 09:51:25 PM »
I'm getting an error trying to get a vector3 from a script with this code:

theFsm.FsmVariables.GetFsmVector3("NextDestination").Value = pointsList.pop;

error:
BCE0022: Cannot convert 'function(): Object' to 'UnityEngine.Vector3'.

is this the right way to do this?

5
Playmaker Help / Set only x value of vector
« on: January 29, 2014, 08:19:41 PM »
How do I set only the x value of a vector where x is stored in a variable?

Basically I want to move an object to the same x, y location as another object but keep it at the same z location.

6
Playmaker Help / Can't dl Playmaker after Unity re-install
« on: January 22, 2014, 04:44:31 PM »
I needed to reinstall my OS and Unity. After doing this, I can not download playmaker from the Asset Store. I only have the option to purchase again!

7
Playmaker Help / Mouse Pick 2d firese endlessly
« on: January 18, 2014, 06:37:45 PM »
I have the Mouse Pick 2d action attached to a gameobject (my background). I want to be able to click this between 2 states - on and off but the action just fires endlessly between the 2 states.

Pages: [1]