playMaker

Author Topic: <Problem> Array Function - It dosent work - how to do it???[SOLVED]  (Read 188 times)

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
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
« Last Edit: November 08, 2018, 10:42:11 PM by jeanfabre »

heavygunner

  • Junior Playmaker
  • **
  • Posts: 76
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #1 on: November 04, 2018, 10:14:00 AM »
Hi !
Did you tried Arraymaker ?

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #2 on: November 04, 2018, 12: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?

heavygunner

  • Junior Playmaker
  • **
  • Posts: 76
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #3 on: November 04, 2018, 12: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.

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #4 on: November 05, 2018, 09:24:53 AM »
HI Heavygunner
Thank's for your Answer :)
I post a Video  -  that explain my problem
https://youtu.be/GasEDXtojD8

I hope to solve it asap...   :)
Inbal

heavygunner

  • Junior Playmaker
  • **
  • Posts: 76
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #5 on: November 05, 2018, 02:28:07 PM »
HI Heavygunner
Thank's for your Answer :)
I post a Video  -  that explain my problem
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 https://youtu.be/Nn-iF8B0ymw
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. :(

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #6 on: November 06, 2018, 12:00:40 AM »
Thank's - I understend what your a saying, but in this case all the texture is changing not only the color

heavygunner

  • Junior Playmaker
  • **
  • Posts: 76
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #7 on: November 06, 2018, 03: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

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #8 on: November 06, 2018, 03:16:32 AM »
This is What I figure until now...
https://youtu.be/80TUqg8YSYg

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #9 on: November 07, 2018, 01:26:21 PM »
Hi Every one - Help Need on the Array Subject...
Their is no good solution to the problem yet...

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 3602
    • View Profile
    • jinxtergames
Re: <Problem> Array Function - It dosent work - how to do it???
« Reply #10 on: November 07, 2018, 03: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.

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: <Solved> Array Function - It dosent work - how to do it???
« Reply #11 on: November 08, 2018, 01: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