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

Pages: [1]
1
General Discussion / Re: Call static method
« on: November 13, 2018, 05:47:11 PM »
Hi, Guys

My bad! The script ExploderSingleton wasn´t attached to the prefab.
Its working! Now the body parts of BOT is blowing up.

Sorry my inattention!

Thx a lot,
Thiago from Brazil

2
General Discussion / Re: Call static method
« on: November 13, 2018, 04:22:17 AM »
Hi, Jean

Thx your support!! Sorry my coupled FSM, Im decoupling it slowly!

What am I doing wrong?

Thx a lot!
Thiago

3
General Discussion / Call static method[SOLVED]
« on: November 12, 2018, 07:45:38 PM »
Hi, people

Im trying to call a static method (Call Static Method - Action) but rise this error:
"Invalid Method Name or Parameters:"

I bought the "Exploder" Asset and the script of the demo scene call the static method GetInstance().

Code: [Select]
public class ExploderSingleton : MonoBehaviour
...
...
private static ExploderObject Instance;

public static ExploderObject GetInstance(){
   return Instance;
}

void Awake(){
            Instance = gameObject.GetComponent<ExploderObject>();
}

What can I do?
Hope you understand...

Thx a lot,
Thiago from Brazil



4
General Discussion / Re: Question about templates
« on: November 05, 2018, 06:29:02 AM »
Thx you DanielThomas!

Now Its Working!!!

Thx a lot, man!
Thiago

5
General Discussion / (SOLVED)Question about templates
« on: November 05, 2018, 04:26:23 AM »
Hi, people

I created a generic template to attach on each body part of enemies of my game. The template control "health" of each body part. Fire the animation when the body part is hitted...and more.

I created a String variable called "boolAnimatorParameter" that's represents what animator parameter will be change when call "Set Animator bool".
But when I set a value to "boolAnimatorParameter" to "isRightLegHit", for instance, the "boolAnimatorParameter" is changed to all of FSM that recieved my generic template.

How can I set a value to a template variable without change of others FSM with same temaplate? Sorry my spelling! Hope you can understand!

Thx a lot,
Thiago from Brazil

6
General Discussion / Re: I cant able to save Templates
« on: October 24, 2018, 07:24:35 AM »
OK, I "solve" the problem.

I created a new project and installed playmaker fisrt. After that, I copied the other folders from the "old" project and pasted into my new project.

Thx a lot,
Thiago

7
General Discussion / I cant able to save Templates
« on: October 20, 2018, 07:36:24 PM »
Hi, Guys

After I updated Unity to 2018.2.12f1 I cant able to save templates inside Project´s Asset folder. Im using playmaker 1.9.0

The message:
"Templates can only be saved in the Project´s Asset Folder"

Im tryin to save inside asset folder.
(c:\...\...\my_project\Assets\PlayMaker\Templates)

What I can do?

Thx a lot!
Thiago from Brazil


Pages: [1]