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

Pages: [1] 2 3 ... 8
1
User Showcase / Unity Forma | Stratus Configurator
« on: April 16, 2021, 08:57:21 AM »
As usual Playmaker provided great help making this. UI and Logic. Playmaker works great with Forma.

https://www.artstation.com/artwork/YedPPV



2
Unity Services / Re: Cannot import NGUI and Playmaker in one project
« on: February 28, 2021, 04:46:59 PM »
I was able to fix with a help from a friend. There was also issue with tooltips. Thank you a lot!

3
Unity Services / Re: Cannot import NGUI and Playmaker in one project
« on: February 28, 2021, 03:15:43 AM »
Thank you a lot! This worked.

However, now I have the following errors in the NGUI actions I'm using for Playmaker.

Code: [Select]
Assets\AT1 Ngui Actions\Scripts\nguiTweenColor.cs(21,21): error CS0426: The type name 'Style' does not exist in the type 'TweenColor'
Assets\AT1 Ngui Actions\Scripts\nguiTweenColor.cs(22,21): error CS0426: The type name 'Method' does not exist in the type 'TweenColor'
Assets\AT1 Ngui Actions\Scripts\nguiTweenPosition.cs(22,24): error CS0426: The type name 'Style' does not exist in the type 'TweenPosition'
Assets\AT1 Ngui Actions\Scripts\nguiTweenPosition.cs(23,24): error CS0426: The type name 'Method' does not exist in the type 'TweenPosition'
Assets\AT1 Ngui Actions\Scripts\nguiTweenPositionAsGameobjects.cs(22,24): error CS0426: The type name 'Style' does not exist in the type 'TweenPosition'
Assets\AT1 Ngui Actions\Scripts\nguiTweenPositionAsGameobjects.cs(23,24): error CS0426: The type name 'Method' does not exist in the type 'TweenPosition'
Assets\AT1 Ngui Actions\Scripts\nguiTweenRotation.cs(20,24): error CS0426: The type name 'Style' does not exist in the type 'TweenRotation'
Assets\AT1 Ngui Actions\Scripts\nguiTweenRotation.cs(21,24): error CS0426: The type name 'Method' does not exist in the type 'TweenRotation'
Assets\AT1 Ngui Actions\Scripts\nguiTweenScale.cs(21,21): error CS0426: The type name 'Style' does not exist in the type 'TweenScale'
Assets\AT1 Ngui Actions\Scripts\nguiTweenScale.cs(22,21): error CS0426: The type name 'Method' does not exist in the type 'TweenScale'


I've reached to the publisher, but not sure if he'll answer.

4
PlayMaker Bug Reporting / Incompatibility with NGUI
« on: February 27, 2021, 05:39:11 PM »
Please check this thread and close if it's duplicate, but I can't use NGUI + Playmaker with latest updates.
https://hutonggames.com/playmakerforum/index.php?topic=23534.msg102607#msg102607

5
Unity Services / Re: Cannot import NGUI and Playmaker in one project
« on: February 27, 2021, 05:29:42 PM »
After some testing it seems latest Playmaker versions have duplicate scripts with NGUI - Tween position, Tween Scale, Tween Color editor scripts.

6
Unity Services / Re: Cannot import NGUI and Playmaker in one project
« on: February 27, 2021, 03:35:56 PM »
You mean in Playmaker foler? Yes, I can but then Playmaker is not working. And it's not just that script. Strange because all my project are PM + NGUI and haven't had a problem so far.

7
Unity Services / Cannot import NGUI and Playmaker in one project
« on: February 27, 2021, 01:39:03 PM »
For some reason I started getting errors when I import NGUI and Playmaker in one project similar to:
Code: [Select]
Assets\PlayMaker\Actions\Tween\Editor\TweenRotationEditor.cs(40,36): error CS1061: 'TweenRotation' does not contain a definition for 'fromOptions' and no accessible extension method 'fromOptions' accepting a first argument of type 'TweenRotation' could be found (are you missing a using directive or an assembly reference?)
Yes, there seems to have duplicate scripts, but when I start to delete the ones in NGUI folder I end up deleting the entire NGUI package following script after script error. What can be the issue?

Only NGUI or only Playmaker works fine.

8
PlayMaker Help / Re: How to create Array of of other Arrays
« on: December 31, 2020, 06:27:31 AM »
Create new Array (String) and add all array names there.  :)

But the Array Lenght action does not accept Array (String), it should be Array (GameObject)

9
PlayMaker Help / How to create Array of other Arrays
« on: December 30, 2020, 03:57:49 PM »
I have a logic where I select an item from an array. However at the beginning of the FSM I want to switch between different arrays and use the same FSM loop to select from different game objects of the pre-selected array. Any ideas how to do that at play mode?

As per the attached image I'd like to be able to switch between the different arrays.
If I can create an array of arrays then I will just index the car class array in the main array and voila.

10
This is it! Thank you!

11
I have object A that I want to set as child to a prefab that I'm spawning at runtime using the set parent action.

However, Unity is not allowing that: "Setting the parent of a transform which resides in a Prefab Asset is disabled to prevent data corruption".

How to achieve the above without set parent action?

12
I have a grid with spawn points from 1 to 9.

I have a player car and AI cars. I'd like to spawn the player car and the AI cars on those spawn points in random order without repeating or overlapping. Any ideas how to approach that?

Thank you!

13
PlayMaker Help / Help with string/float formatting
« on: May 11, 2020, 12:27:00 PM »
Hello,

I'm making a time manager that measures the difference between two time intervals. Best race lap time vs current lap time. So the time float is sometimes positive and sometimes negative.

When it's negative and I format the float with "{2:D2}:{3:D2}:{4:D3}" it shows 00m:-3s:-5ms. I want the minus (-) to be only in front when converting to string. Example: - 00:03:05, and not 00:-03:-05.

How to do that, I guess format or build string?

14
PlayMaker Help / Re: Meet several conditions before going to state
« on: May 04, 2020, 02:27:52 PM »
Thank you!

15
I'd like to ask for the best approach in the following case.

From state state 1 I want to go to state 2 but only if I have a string with the name "string1" and float that is over "800". Basically && in C#.

How to do that in Playmaker in a single state and combine a string and a float?
To do this:

Code: [Select]
if(x == z && y == z){
     //Do something
     }

Pages: [1] 2 3 ... 8