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

Pages: 1 [2] 3 4 ... 37
16
PlayMaker Help / Re: Trigger event return a list of colliders?
« on: March 04, 2017, 09:07:43 AM »
It sounds like you need an OverlapBox

17
If you are a Playmaker user I highly recommend using Behavior Designer together with Playmaker- it makes a very powerful and easy to use combination.

Behavior designer also has some useful tasks that allow you to do utility theory decision making which can make for a much more flexible and lifelike AI-

If you do go with behavior designer- here are a bunch of custom Behavior designer tasks I've made- many are Playmaker converts https://github.com/mdotstrange/CustomBehaviorDesignerTasks

And I sell a video tutorial course on Behavior Designer for Playmaker users https://www.youtube.com/watch?v=Nvq9Y2QmW4E

18
Share New Actions / Flight path action- pathfinding for flying objects
« on: February 27, 2017, 05:55:45 PM »
"flightPathAction.cs"

I just added this action to my Playmaker github actions https://github.com/mdotstrange/MdotsCustomPlaymakerActions


You can use it to do basic flight 3d pathfinding as you can see in this example


The flying object will fly towards/around a target object- you can set it to stop when it reaches a target distance as well-

Here's the rigid body settings the example uses


Hope its useful and have fun  :)

19
PlayMaker Help / Re: Get array list from C# script and use in PlayMaker
« on: February 24, 2017, 12:11:42 AM »
When you say "access" - what exactly do you want to do with the array list in Playmaker? Do you want to copy the array list into a Playmaker native array or arraymaker array list? Or just get/set things to/from the array list?

If you describe what you want to do with the data it will make it easier to help you  :)

20
PlayMaker Help / Re: Custom Action Assistance - Audio Clip
« on: February 20, 2017, 08:26:48 PM »
No problem-

I use enums a lot in custom actions for UI purposes to create a popup menu selection but I don't think I've ever used them to set Fsm Enums-

Here is my code snippet I keep to remind myself how to use them
Code: [Select]
public enum theTypes
        {
            Unguided,
            Guided,
            Predictive
        }

// create a var for the enum

        public theTypes theTypeEnum;
 
 
 //this gets the int index of the enum "MyEnum"
 int eValue = (int)theTypeEnum;

So you can use normal enum's like that in your custom actions- then you want to use one of those enums to set an Fsm Enum?

If so, you would take the int value of the regular enum and use it to set the Fsm Enum type-

If you can't figure it out let me know and I'll see if I can make some example code-


21
PlayMaker Help / Re: Custom Action Assistance - Audio Clip
« on: February 20, 2017, 05:04:57 AM »
Add this to that line in the code-

Code: [Select]
theScript.shotSound = gunSound.Value as AudioClip;
As you can see I added "as AudioClip" when using Playmaker object variable types you have to tell the script what the variable type is.

22
PlayMaker Help / Re: Play Sound Workaround Questions...
« on: February 12, 2017, 06:29:53 PM »
No prob  :) If you have ideas for stuff to add on my other actions just let me know.

23
PlayMaker Help / Re: Play Sound Workaround Questions...
« on: February 12, 2017, 04:40:14 PM »
If you store a variable in the "index" the sounds won't ever repeat- the action is attached

24
PlayMaker Help / Re: Play Sound Workaround Questions...
« on: February 12, 2017, 07:19:06 AM »
Thats a good idea Heath- I can add that function to the action- will post again when I've updated it-

25
PlayMaker Help / Re: UnityEvent to Playmaker
« on: February 11, 2017, 11:12:31 PM »
Try dragging an FSM into the field that says "None (Object)" you should be able to use Playmakers Send Event from there

26
Share New Actions / Re: Sharing 49 of my custom actions
« on: February 06, 2017, 03:14:46 PM »
Thanks for adding them :)

27
PlayMaker Help / Re: Imported playmaker, get menu but no submenus.
« on: January 30, 2017, 03:29:06 PM »
Yeh it seemed as if it might be a disk permission issue. Glad you got it working  :)

28
PlayMaker Help / Re: Imported playmaker, get menu but no submenus.
« on: January 30, 2017, 12:34:11 PM »
That's an error I've never seen  ???

Is it an issue downloading from the asset store? Did you try re-downloading it from the store?

29
PlayMaker Help / Re: Why is my float setting itself to "-infinity" ?
« on: January 30, 2017, 10:42:38 AM »
You could try adding a Float Clamp- and clamp the power reserve min at 0-

I've seen behavior like this if the calculation starts before the variable has been populated so it might be doing the subtract before the powerReserve variable is set?

30
PlayMaker Help / Re: Imported playmaker, get menu but no submenus.
« on: January 30, 2017, 10:36:33 AM »
When you first install Playmaker from the asset store it is really installing the installers- so just go to install Playmaker and install the newest version then you will have the sub-menus etc-

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