playMaker

Author Topic: A question on arraymaker[SOLVED]  (Read 2684 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
A question on arraymaker[SOLVED]
« on: July 10, 2013, 04:34:16 AM »
Well, this time, i'm trying to get a random item from an object array list,

i think i setup it correctly but it looks not...

something i didn't understanded or i missed certainly

« Last Edit: July 10, 2013, 08:51:19 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: A question on arraymaker
« Reply #1 on: July 10, 2013, 05:21:15 AM »
Hi,

 Could it be actually the actions following that one? I can see you have more on that state.

bye,

 Jean

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: A question on arraymaker
« Reply #2 on: July 10, 2013, 07:47:29 AM »
ok i fund.

it was because i put the prefab inside and the array only suport scene object

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: A question on arraymaker
« Reply #3 on: July 11, 2013, 05:54:10 AM »
finally my problem was solved for the next action but for this one, i tested the 2 ways, and i get the same error message.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: A question on arraymaker[SOLVED]
« Reply #4 on: July 11, 2013, 06:50:03 AM »
Hi,

 are you sure "reference" is correct? can you screenshot that gameObject inspector with the array prox on it?

bye,

 Jean

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: A question on arraymaker[SOLVED]
« Reply #5 on: July 11, 2013, 07:07:46 AM »
i don't know if it is normal or not,
i just seen that when i click on play, the inspector panel hide alls arrays.

that doesn't disturb my random bonus system, but you'll can't see the list.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: A question on arraymaker[SOLVED]
« Reply #6 on: July 11, 2013, 07:11:36 AM »
c'est bizarre...

 I think you are not pointing to that gameObject actually, the path given int he red warning does not correspond to the path in the scene browser for that bonus list gameobject. Can you double check that when you ping the selected gameobject in the action, it is indeed that game object?

Else, you can send me the project if you want, simply pm me, and I'll have a look.

bye,

 Jean

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: A question on arraymaker[SOLVED]
« Reply #7 on: July 11, 2013, 08:09:53 AM »
thanks jean,

i fund an other way by using "use owner" parameter.
why make easy when you can make it complex ? lol