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

Pages: [1] 2
PlayMaker Help / Bug in playmaker?
« on: October 27, 2015, 06:49:10 AM »

I have this simple FSM that the only think that does is Get the key down state of a key and print its result after jumping to another state. The behaviour I'm expecting is that the tempBool var become True just for a frame and then false for all the others beside it is still pressed or not. This is not hapenning. After pressing the space key (it doesn't matter if it is released later) the tempBool var is always true. Could anybody look into this issue please?

I have attached pictures of the FSM and state actions. It is very simple.

Note: In the third screenshot you will notice a disabled action. This is an action I have had to use to force the reseting of the boolTemp var. But I expect it to not be needed to make things work if everything were right.


PlayMaker Help / Still no Arrays/Lists as a variable?
« on: September 28, 2015, 04:57:22 AM »

I need to create a inspectable list/array in playmaker for my artists to drag some prefabs into it. Is there anyway to accomplish this? It seems ArrayMaker doesn't provide this functionality.

Any help will be greatly appreciated.


PlayMaker Help / Simulating method calls with return value in playmaker?
« on: September 28, 2015, 04:29:39 AM »

Is there any way to simulate a method call (the method should be a playmaker graph or subgraph) with a return value?.

I would like to use a node for example to call another playmaker graph and get a result form it.


PlayMaker Help / About global events
« on: July 26, 2013, 03:50:39 AM »

I have read from another post:

Global Events: If you want to send events between FSMs they must be marked Global.

This is a bit misleading to me. I see global events as events that can be used in any FSM, I mean, things like "Success", "Failure", "Yes", "No" that are common should be global events in other to be reused and do not have a copy in every FSM.

Can they be seen this way? Or am I wrong?

Thanks in advance.


I'm optimizing my game this days and one of the things I'm trying is to remove all OnGUI realted stuff from my code (I target v6a android devices).

I have noticed that one can disable the use of GUILayout from the PlayMaker GUI behaviour that appears in every scene. The problem is that I can see in the profiler spikes produced by GUI.Repaint that are related to PlayMaker after disabling the GUILayout option. Is there any possibility to disable the use of OnGUI's from playmaker?

Thanks in advance.


I think everyone in the forums will agree that main strength of playmaker is State handling through FSM. I like it a lot when I use it this way to prototype high level logic. The problem comes when I try to use it as a Visual scripting tool and mainly when I want to start reusing logic blocks. An example could be a state I have in my IAP FSM  called "Has enough money". This just call a custom  action that fires a "Yes" event if there's money to buy a product and "No" otherwise. The problem here is that I allways have to wrap this action into a state but it is not really a state, it is a piece of logic that has an output. Things get worse when I need to use this action more times in the FSM and have different event targets. I have to create another state and rename it something like "Has enough money 2", "Has enough money 3", etc... Really feel a bit like I'm forcing the tool to do someone it wasn't meant for.

Has anybody found himself in this situation? Has Anybody managed to solve this problems? Any tips would be greatly apreciated.


PlayMaker Help / SendEvent based on fired event?
« on: April 27, 2013, 02:54:41 AM »

I would like to clear a bit one of my FMS and wanted to use some global transitions to clean this spagetti I have :).

Mainly I want to use 2 global transitions "ExitWithAnimation" and "ExitWithoutAnimation". This will be called from some parts of this fsm depending on the player selections (this fsm covers a part of my UI logic).

On the other hand I have a custom action that shows a Yes/No dialog that returns to the fsm through sendEvent what the user chosed. I need to send the user to one of this global transition if I get a "No" event. Is this possible to do without creating a transition from the current state, from the No event to another state that sends the event to move to the global transition? I don't want this because state ids seems to be based on the name and then I should be naming this nodes "GoToExitWithNoAnimation1", "GoToExitWithNoAnimation2", etc...

Is there a better solution for all this?.



I'm starting to grasp the concept of FSM Templates in playmaker. For me they look the same as procedures in any regular language (call with no return values). Is there any possibility to convert them in functions? Something like blackboxes where parameters are pushed and return values can be extracted? They would be of a lot of use to reusability.

Note: I have just read about the RunFSM action. This  seems what I would need but If I could return a value from it or at least configure more than on "Output events" not just the finished event.

Note2: I have discovered (yay!) that I can send an event from a SubFSM to the Host. So I suppose this could be used to send a custom event as a response instead of just "Finished". Is it possible to send with the event any kind of meta data like an int value, etc...?

Thanks in advance,

PlayMaker Help / Heavy peformance problems with 1.5.5 [SOLVED]
« on: April 05, 2013, 12:46:21 PM »

I just updated to 1.5.5 version and I'm suffering from big performance problems. For example, when I select the FSM I want to edit from the editor combo box it lasts around 10 secs to open. When I change something in the FSM editor sometimes editor freezes and comes to life after other 5-10 seconds. Is any other suffering from this problems? It is really annoying to work this way. I think I'm going back to 1.5.4. Any solution would be really apreciate.

Note: After reverting to 1.5.4 everything is fine again :/.

I'm using 3.5.7f

Thanks in advance.

PlayMaker Help / Reordering events in a state? [SOLVED]
« on: April 05, 2013, 12:03:28 PM »

Is it possible to move up and down events for every state? I like to sort events in a way that this would be handy, and don't like to remove transitions and readd them in the order I want when I make a mistake.

Thanks in advance.

PlayMaker Help / Something odd about Get Property action.
« on: April 03, 2013, 10:57:52 AM »

There's something I don't understand about GetProperty action. I have some PlayMaker side vars that are of type game object. I would like to set the target of getproperty to one of this vars to get the transform of the object but they are not listing in the combo list. It seems just variables of type component are shown.

I could think that this is "as intended" but then I have discovered that I can drag a scene game object over the Actions form and then the GetProperty works as expected. Will let me select the transform property from the game object.

So, the question is, why does get property target accept a game object from scene but it doesn't accept a playmaker variable with type game object?

Thanks in advance.

PlayMaker Help / How to pass a transform var from playmaker to script?
« on: April 02, 2013, 11:45:12 AM »

I would like to pass some transforms vars from playmaker to script. I know I can pass game objects and get the transform from here but I have the transforms cached and would like to reuse them in actions. Is there any way to accomplish this?

Thanks in advance.


I have been reading some threads about local FSM global variables. I mean variables that can be accessed by all states in a FSM but not from outside. It seems there was going to be added but I can't find them.

Could anybody help here?

Thanks in advance.


In my script side I have a Game manager singleton that I access like GameMgr.instance. Is there any possibility to call this in playmaker without looking for the GameObject that has the component and then get the component?

Thanks in advance.


Is there any possibility to remove iTween from PlayMaker? I would like to use HoTween and iTween lib weights almost 300kb. Is this possible?

Thanks in advance.

Pages: [1] 2