Playmaker Forum

PlayMaker News => General Discussion => Topic started by: InbalTal on November 04, 2018, 12:13:25 AM

Title: <Problem> Array Function - It dosent work - how to do it???[SOLVED]
Post by: InbalTal on November 04, 2018, 12:13:25 AM
Hi
I post Yesterday the Quastaion, but I dont get An accurate answer to my Problem
I new to the Array Function and I didnt find a good Tutorial about it.
 
The situation is:
There are a list of 3D items (Game object). when I press a UI button these 3D GameObject object will change Their  Material at once
what the UI Button get? (Array playmaker function)
What the 3d object get? (Array playmaker function)

when I do it on one Object There is no Problem. How to do that on Number of objects?

Thanks
Inbal
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: heavygunner on November 04, 2018, 12:14:00 PM
Hi !
Did you tried Arraymaker ?
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: InbalTal on November 04, 2018, 02:19:13 PM
HI
I put the menu to Unity, but there are many extras. I would be happy to help ... what would be a good use for my question?

Do you Know to work with Array?
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: heavygunner on November 04, 2018, 02:35:17 PM
HI
I put the menu to Unity, but there are many extras. I would be happy to help ... what would be a good use for my question?

Do you Know to work with Array?
Hi !
Arraymaker can be found in ecosystem browser
https://hutonggames.fogbugz.com/?W715

There are few videos on YT about Arraymaker. I didn't started to learn it yet. I also read that XML Datamaker also best.

If you posted the video of your issue, Other experts members will understand the problem and help you.
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: InbalTal on November 05, 2018, 11:24:53 AM
HI Heavygunner
Thank's for your Answer :)
I post a Video  -  that explain my problem
https://youtu.be/GasEDXtojD8 (https://youtu.be/GasEDXtojD8)

I hope to solve it asap...   :)
Inbal
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: heavygunner on November 05, 2018, 04:28:07 PM
HI Heavygunner
Thank's for your Answer :)
I post a Video  -  that explain my problem
https://youtu.be/GasEDXtojD8 (https://youtu.be/GasEDXtojD8)

I hope to solve it asap...   :)
Inbal
Hi !
I see you are using red Fabric material. do all objects using the same Material ? I don't see Material properties. Please post screenshot of it. it will like the attachment.

I created a video to change material color. Check this You can use this method.

Else, Duplicate the red Fabric and change it to Pale Yellow and Use Set Material action to apply it.

About Arrays : I also facing issues with Arrays. :(
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: InbalTal on November 06, 2018, 02:00:40 AM
Thank's - I understend what your a saying, but in this case all the texture is changing not only the color
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: heavygunner on November 06, 2018, 05:11:10 AM
Thank's - I understend what your a saying, but in this case all the texture is changing not only the color
Then, You have to create another material for that Yellow. And call an action to change it on click
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: InbalTal on November 06, 2018, 05:16:32 AM
This is What I figure until now...
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: InbalTal on November 07, 2018, 03:26:21 PM
Hi Every one - Help Need on the Array Subject...
Their is no good solution to the problem yet...
Title: Re: <Problem> Array Function - It dosent work - how to do it???
Post by: djaydino on November 07, 2018, 05:49:55 PM
Hi.
Do you have a single material for each fabric?

or do some object use different materials in the same fabric?

if different materials per object you will need multiple arrays.

if single material, you can have 1 array with all the objects and loop thru to set the material on each object.

Here is a video about arrays that will explain how to loop thru (iterate) each object


if objects have their own material, let me know.
Title: Re: <Solved> Array Function - It dosent work - how to do it???
Post by: InbalTal on November 08, 2018, 03:29:35 PM
Hi
I solved the problem  ;D
I use the Video on Intro to using Array in Playmaker 1.8x
Thanks to all the Helpers!!!!
Inbal