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

Pages: 1 ... 5 6 [7] 8
91
PlayMaker Help / Re: Canvas and Mouse Pick Issue
« on: September 15, 2018, 12:37:00 AM »
Hey GonerGames,

That should do the trick from what you said. Did some quick testing on it and its a good work around that should be easy to set up!

Thanks so much for the help guys as always!

92
PlayMaker Help / Re: Canvas and Mouse Pick Issue
« on: September 11, 2018, 05:28:42 AM »
Hey Djaydino,

That solution wouldn't work for me sadly.  The canvas is constantly changing its buttons/icons depending on what the player clicks on. 

I found an old thread

http://hutonggames.com/playmakerforum/index.php?topic=10892.0

Sadly it seems the system I wanted to use with mousePick isn't possible.

The problem I have is that when the player selects a Unit, abilitiy buttons activate on the UI.  I have it set up currently that if they player left clicks anywhere while having a unit "selected"will deselect the unit where right clicking will move the unit to that location.  Problem is if they left click on the ability button while having a unit selected, they deselect and the button doesn't get press before getting deactivated.

What would be the best practice for this scenario to test the button press before deselecting the unit?

93
PlayMaker Help / Canvas and Mouse Pick Issue [SOLVED]
« on: August 28, 2018, 04:22:45 AM »
Hey guys,

Got another problem I'm hoping someone can help with.  I'm using the Canvas for my UI currently.  What I'm trying to do is when the player clicks on the screen, a mouse pick action plays.  I have only 1 layer on the filter for UI (Which is what the Canvas is in) with a Bool to go true if it clicks on the UI.  Trouble is, the pick mouse doesn't seem to ever register it clicked on the canvas at all.  Is there an Action I'm missing or something I'm doing wrong?

Thanks

94
PlayMaker Help / Re: Array List Get Next Issue
« on: August 28, 2018, 02:38:22 AM »
Hey Djaydino,

Thanks for the help with that.  I didn't realize that the flag for the reset changed to false after it gets used.  That was my problem!

Thanks so much!

95
PlayMaker Help / Array List Get Next Issue [SOLVED]
« on: August 26, 2018, 01:26:56 AM »
Hey all,

I've been having this issue with this action and I'm hoping I can find some help here.

What I have is 5 inactive buttons on my screen all in an Array.  When I select a unit,I have an Array List Get Next action to grab the first button.  Right below that action is a simple check if its activated or not.  If not the action repeats until an inactive button is found. I have everything working correctly but one issue I can't solve.  Every time I select and deselect a unit, the next time I select them again the second button activates rather then the first again.  This continues to the third and forth button as I select and deselect the units.

I found a Reset setting on the get next action and tried setting that to true to force it to start from the beginning of the array again but it just doesn't seem to work.

Does anyone have any ideas what I'm doing wrong?

Thanks


96
PlayMaker Help / RTS UI Issue
« on: July 21, 2018, 02:35:36 AM »
Hey guys,

I ran into an issue I'm not quite sure how to work around and was hoping for some help or guidance with this issue.

I'm trying to make a RTS UI where the player can select the unit and their stats/picture/skill buttons all appear on the UI.  I have this working but I'm running into the issue of having multiple different type of units selected.  What I want to make is when the player selects multiple different units, that units icon appears in place of their picture on the UI along with any other different type of unit selected.  This allows you to switch between the different groups while still having them all selected.

Problem is I'm not quite sure how to do it efficiently. I'm currently making preset buttons that just activate/deactivate accordingly to the selection but that is just a work around. What I want is to make an array and use that to fill in the UI as you select more units.

Any help would be greatly appreciated.

Thanks!


97
PlayMaker Help / Re: Animal AI tracking body part to target?
« on: June 08, 2018, 03:52:42 AM »
Have the Parent object that controls all the parts control the actual moving position.  Then have the head part control the rotation. Using a Smooth Look At direction for the head will just rotate the head towards whatever you point it at and the Parent Object will then move all the parts towards it.

If you play around with those actions you can probably achieve what you're looking for.

 

98
PlayMaker Help / Re: Character moves one direction
« on: June 07, 2018, 07:55:42 PM »
I'd double check all your actions and make sure everything is still linked up with each other.  Upgrading Unity can sometimes cause actions to lose targets or events to misfire from what I've seen.

99
PlayMaker Help / Re: Animal AI tracking body part to target?
« on: June 07, 2018, 07:53:47 PM »
I'm not really an animator myself but what I've seen is usually models broken down into parts (Ex head, foot, jaw, tail) and all parented to a game object to hold them all. That lets you animate separate parts independently and move the parent object to move all the parts together.  Doing this you can add an FSM to the head and have a smooth look action to the object its chasing.  Can also use the Get distance between the two to trigger the biting animation.

Like I said I'm not really familiar with animations but maybe that can give you an idea to start with?

100
PlayMaker Help / Re: A Click and Drag box.
« on: June 07, 2018, 07:07:02 PM »
Had a quick watch of this Video.  This looks like it will be perfect for what I need.  I'll have to DL this video if its alright to watch on my plane ride tomorrow (15 hours of flying  :-[ )  Will definitely give me something to do now though on that ride.

Thanks so much for this!

101
PlayMaker Help / Re: A Click and Drag box.
« on: June 06, 2018, 05:08:46 AM »
Giving the 2 week bump :)

102
PlayMaker Help / Re: A Click and Drag box.
« on: June 02, 2018, 08:01:13 PM »
Looking into this issue more, I kept seeing people referring to an example in ArrayMaker but seems as though the example was lost in the newer versions. After digging deeper into the forums I was able to find this thread giving a link to an example!  I'll post it here for others as well to find easier.

http://hutonggames.com/playmakerforum/index.php?topic=12454.0

This is a very good start to my questions but the only problem is that it seems to expand a GUI layout rather then a 3D Cube for the selection box. I was hoping to find an example to expand a trigger box as this would work better for my current project.  I'm continuing to explore ways to make it happen and will post again here for others if I find a way. Unless someone beats me to it :P

Thanks everyone!

103
PlayMaker Help / Re: Change Target Object for the action 'Look At'
« on: May 30, 2018, 03:05:40 PM »
Set the Target Object to a Variable and set that Variable to whatever you want to look at when you trigger the event.

You can use the Find Game Object if there is only one thing you're looking for or use the trigger event to store whatever triggered it and use the action Set Game Object Var for the target. 

There is a few ways to do it depending on the project.

104
PlayMaker Help / Re: Array Add misses last object
« on: May 28, 2018, 05:08:24 AM »
If you get the Array Maker actions, you can have an Empty Game Object with an array list with a FSM to grab all objects with XXX Tag.  It will help manage your array as well since each object won't need to have to add itself.

Wouldn't hurt to have that Array Maker too if you plan on working with alot of arrays.

105
PlayMaker Help / [SOLVED] A Click and Drag box.
« on: May 24, 2018, 05:31:26 AM »
Hey everyone.

Hoping to get some help again here.  Basically I just need to be able to click and drag to make a selection box to select everything from within.  I got ideas on how to make it all work except for the actual drag box.  My first idea was to make a simple semi transparent cube with a collision box on it.  When you click down it spawns the cube and then  extends by following the mouse.  Problem is I don't know how to do that and I can't seem to find anything when searching the web (that solved it at least).  Can someone let me know if I'm on a good track or point me in the right direction?

Thanks so much!

Pages: 1 ... 5 6 [7] 8