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

Pages: [1] 2 3 4
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.

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.

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.

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.

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?

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!

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

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?

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


I'd like to set a variable on a script attached to a game object that is instantiated at runtime. How to do that? It's easy if I have the object at the scene and it's only one object, but I want to be able to set a script on a different object with the same FSM.

car1 - prefab with script name "car engine" with tag "car"
car2 - prefab with script name "car engine" with tag "car"
car3 - prefab with script name "car engine" with tag "car"

If I drag the "car engine" script from car1, which I put in the scene to an FSM called "car throttle" I can easily set the car throttle variable at run time for this car1.

But I want to access this car throttle variable to the other cars as well with single FSM in the scene.

So I want to do the following:

1. Find game object with tag "car".
2. Store it in a player-car game object.
3. Set car throttle variable in the player car game object in the script "car engine".

How to do point 3 at runtime, given that I can choose any car?

Thank you!

PlayMaker Help / Change value of different GO from single UI button
« on: March 23, 2020, 01:24:43 PM »
I have a list of cars and I want to be able to upgrade components of those cars. Let's say power.

What would be the best approach to do that where we have one button called "power up" and we want to upgrade the only the current active car in the hierarchy list.

Thank you.

Official Action Updates / Playmaker NGUI warning[SOLVED]
« on: September 22, 2019, 05:13:25 PM »
I'm using the NGUI addon and I get this warning in all the projects. Would it be please possible to help with cleaning it?

Code: [Select]
Assets\PlayMaker NGUI\Scripts\Editor\NGuiEventsToPlaymakerFsmEventsInspector.cs(72,3): warning CS0618: 'EditorGUIUtility.LookLikeControls()' is obsolete: 'LookLikeControls and LookLikeInspector modes are deprecated.Use EditorGUIUtility.labelWidth and EditorGUIUtility.fieldWidth to control label and field widths.'

Work In Progress... / [GooglePlay] Tap Rocket Launcher
« on: September 18, 2019, 06:13:51 AM »
Hi all,

I'll be happy if you share your feedback on a non-incremental tap game.
I would categorize it as "action tap".

Active during BETA
For unlimited money cheat just open settings and tap the settings icon at the top 10 times. You will hear a sound confirmation.

I might be in the wrong here and just had a dream about it, but I think there was an option in playmaker to see what is the value or a given variable changed during playmode state window of playmaker.

For example I am adding 1 to an int and I want to see the value of this int in the same window, just as a log info, instead of going to the global variables tab and search for this specific int.

Is that possible?

PlayMaker Bug Reporting / Set number of action slots not working
« on: July 26, 2019, 12:41:21 PM »
Sorry for the confusing title, but here's the issue - events where you can set number or slots for variables is not working when you click enter, you need to click on or out of the action instead.

Example: send random event - the events field is 3 by default, if I want to set it to 5 I can't by typing 5 and pressing enter. Instead, I need to type 5 and click away or on the action name with the mouse. Then I get the 5 slots for random events.

Happened when updated from Unity 5 to Unity 2018.

PlayMaker Help / Chance of success logic from percentage.
« on: July 21, 2019, 06:21:06 AM »
Could somebody steer me in the right direction how to do the following.

We have a chance of success between 1% and 99%. How to make in PM that the higher the percentage the higher the chance of success and vice versa?

Pages: [1] 2 3 4