playMaker

Author Topic: ArrayMaker is now available [April 2021]  (Read 176911 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #120 on: October 22, 2013, 12:58:59 AM »
Hi,

 I agree, it would be good. Unfortunatly, I don't have that quality and natural expression when doing screencasts, I tried but I am the first to admit it's below acceptable...

 Bye,

 Jean

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #121 on: November 11, 2013, 07:13:37 PM »
Hey, I'm getting this weird behavior from the Array List Proxy. If you raise the prefill count, it seems to not be able to lower it again.

For example, I have one with a prefill count of 10, Game Objects. I raise to 15. I don't even have to run or save, if I just type 10 again and run, it will add 5 empty gameobjects.

I once tried to replace 18 with 19, but did it wrong and typed 1819. I corrected it right away, but now my array list is permanently fixed at 1819, when I run the game it shows 1801 empty gameobjects on the list.

The only fix I've found is to create a whole new array. Am I missing anything?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #122 on: November 12, 2013, 02:05:57 AM »
Hi,

 Good catch! It was always there, I missed few things to properly account for downsizing and clean up prefills.

 Please download the ArrayMaker from the wiki again, thanks.

bye,

 Jean

bkups2003

  • Playmaker Newbie
  • *
  • Posts: 49
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #123 on: November 17, 2013, 10:10:22 PM »
I noticed what Terri said but it is a little more serious than he said if you work with hashtables. Raising the prefill count then lowering it will permanently get you errors when you start a game. The only way to fix it is to delete the component then start again.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #124 on: November 18, 2013, 01:19:24 AM »
Hi,

 Can you redownload from the wiki page, this has been addressed, thanks for reporting!

bye,

 Jean

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #125 on: December 10, 2013, 04:40:36 PM »
Hi,

 Good catch! It was always there, I missed few things to properly account for downsizing and clean up prefills.

 Please download the ArrayMaker from the wiki again, thanks.

bye,

 Jean

sweet, thanks man

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #126 on: December 16, 2013, 04:04:30 AM »
Is it possible to get a "Get Farthest Game Object" script? I'm finding for my project I need the polar opposite of the "Get Closet" action.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #127 on: December 16, 2013, 06:05:38 AM »
Hi,

 ok, added to the trello task.

https://trello.com/c/FamlVQBD/31-arraymaker-update

Make sure you up vote this to get on top and done quicker :)


bye,

 Jean

4ppleseed

  • Full Member
  • ***
  • Posts: 226
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #128 on: January 21, 2014, 01:57:31 PM »
I used this today for the first time and had simple ArrayTables working in minutes via Playmaker - just wanted to say thank you Jean  8)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #129 on: January 21, 2014, 11:47:02 PM »
Hi,

 Thanks for the feedback :) don't hesitate to also share where you find issues and possible improvments, not that I have time to do it, but I would document it within Trello to record everything properly.

https://trello.com/c/FamlVQBD/31-arraymaker-update

 Bye,

 Jean

4ppleseed

  • Full Member
  • ***
  • Posts: 226
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #130 on: January 22, 2014, 05:54:37 PM »
Quick question actually :)

If I have two lists; A and B, each has 10 items.

I randomly pick from A and it picks Item 8, how do I then also select Item 8 from B?

I've tried a few Array Get options and can't seem to randomly choose from A and match the index number for B.

Hope that makes sense?

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #131 on: January 23, 2014, 02:53:38 AM »
You'd use the a INT variable for that random get, then another Array Get function with that INT Variable defined for the "AT INDEX" field.

Slater

  • Full Member
  • ***
  • Posts: 123
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #132 on: January 25, 2014, 01:33:26 PM »
So I've been hesitating to upgrade Arraymaker because of the warning text about not being compatible with previous versions. But since I needed the audio array thingy I updated today. However the console gives me 32 errors like these:
The fsmVar value <System.Single> doesn't match the value <System.String>
UnityEngine.Debug:LogError(Object)
PlayMakerUtils:ApplyValueToFsmVar(Fsm, FsmVar, Object) (at Assets/PlayMaker Utils/PlayMakerUtils_FsmVar.cs:311)
HutongGames.PlayMaker.Actions.ArrayListGet:GetItemAtIndex() (at Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListGet.cs:81)
HutongGames.PlayMaker.Actions.ArrayListGet:OnEnter() (at Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListGet.cs:58)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:Start()
PlayMakerFSM:Start()

What is wrong? What do I need to do?

Slater

  • Full Member
  • ***
  • Posts: 123
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #133 on: January 25, 2014, 02:20:51 PM »
Ahh I think I found the problem. I think it is the array list get in my text fsm handler that got reset. I need to put it back to store "string" in my variable.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayMaker is now available [JUNE 2013 NEW VERSION]
« Reply #134 on: January 27, 2014, 04:13:25 AM »
Hi,

 Is it working now?

bye,

 Jean