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

Pages: [1] 2 3 ... 34
1
Share New Actions / Re: ShowDamageColor
« on: January 11, 2018, 12:25:05 PM »
Does it work with white?  ;D

2
Playmaker Help / Re: trigger different animation on NPC
« on: January 05, 2018, 03:25:41 AM »
Put an animator on the npc, make animator, drag all his animations to mecanim, and the play animations with "animator play" action. Unfortunately, i don't know how salsa lipsync functions, so i can't help you with that, but i guess there's a method that has to be started, so, start it together with animation.

3
Share New Actions / Re: KnockbackGameObject
« on: January 05, 2018, 03:21:01 AM »
Great stuff, i was actually looking for something like this, thanks!

4
Action Requests / Re: "Noise" Action
« on: January 05, 2018, 03:20:05 AM »
I don't think the action works anymore :/

5
Work In Progress... / Re: Dark Stig Racing
« on: January 05, 2018, 02:42:10 AM »
This is looking interesting, why not work on it a bit more?

6
Is it happening on runtime or always? Are you forwarding log to unity log?

7
Does it have a tag and have you checked is it in the scene? If you're using multiple copies or spawning system something like (1) or (clone 1) may be added to the name.

I recommend to get owner and store it in variable then find it like that.

8
The thing you're trying to do is really easy, AI stuff could be a bit challenging if you want to implement it.

9
Playmaker Help / Re: Add variable to FSM during edit mode [SOLVED]
« on: December 30, 2017, 09:45:15 AM »
Thanks, i'd really like to know.

10
Playmaker Help / Re: Add variable to FSM during edit mode [SOLVED]
« on: December 29, 2017, 04:23:28 AM »
Nice solution, great. Do they stay saved upon exiting play mode?

11
Playmaker Help / Re: Multiple Simultaneous Event
« on: December 29, 2017, 04:22:10 AM »
You can't, it's the nature of the FSM itself, it can be in only one state. As Tcmeric suggested, use multiple FSM's and one FSM as "controller" for sending events to other FSM's if you want to keep it all in one window.

12
It's quite easy, i would definitely recommend Playmaker for this. What do you need help with, logic? We'd need some more clarification on the mechanics to help though.

13
I'm using a small asset (2d homing missiles) which uses a static method for launching missiles. It has three parameters:

GameObject[] targetGameObjects
bool randomTargeting
bool swarmMissilesOutward

One array and two bools. However, when i try to set the first parameter to array i get this:

Error editing field: Parameters
Unknown FsmArray Type: Use ArrayEditorAttribute to specify a VariableType. And a wall of text of course:


System.ArrayTypeMismatchException: Unknown FsmArray Type: Use ArrayEditorAttribute to specify a VariableType.
  at HutongGames.PlayMakerEditor.ActionEditor.EditFsmArray (UnityEngine.GUIContent label, System.Object fieldValue, System.Object[] attributes) [0x00039] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:2746
  at HutongGames.PlayMakerEditor.ActionEditor.GUIForFieldTypes (System.String labelText, System.Type type, System.Object fieldValue, System.Object[] attributes) [0x00053] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1158
  at HutongGames.PlayMakerEditor.ActionEditor.EditFsmVar (UnityEngine.GUIContent label, System.Object fieldValue, System.Object[] attributes) [0x00017] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1726
  at HutongGames.PlayMakerEditor.ActionEditor.GUIForFieldTypes (System.String labelText, System.Type type, System.Object fieldValue, System.Object[] attributes) [0x00053] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1158
  at HutongGames.PlayMakerEditor.ActionEditor.EditArray (UnityEngine.GUIContent label, System.Type elementType, System.Array array, System.Object[] attributes) [0x00000] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1258
  at HutongGames.PlayMakerEditor.ActionEditor.EditArray (UnityEngine.GUIContent label, System.Type elementType, System.Object fieldValue, System.Object[] attributes) [0x00000] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1186
  at HutongGames.PlayMakerEditor.ActionEditor.GUIForFieldTypes (System.String labelText, System.Type type, System.Object fieldValue, System.Object[] attributes) [0x00053] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1158
  at HutongGames.PlayMakerEditor.ActionEditor.EditField (System.Object obj, System.Reflection.FieldInfo field, System.String labelText, System.Type fieldType, System.Object fieldValue, System.Object[] attributes) [0x00014] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1019

Any ideas what to do?

14
Playmaker Help / Re: change FSM name in inspector?
« on: December 27, 2017, 01:51:04 AM »
That would change the name of the script and it would stop functioning.

15
Playmaker Bug Reporting / Re: I cannot add new Global Variable
« on: December 27, 2017, 01:41:46 AM »
You need to post unity and playmaker version when you are having this kind of trouble.

Pages: [1] 2 3 ... 34