PlayMaker Help & Tips > PlayMaker Help
[SOLVED] Arraymaker Failure event does not work?
pustur:
i have a problem and i don't know if i'm doing something wrong or i found a "bug" in playmaker/arraymaker?
http://i1264.photobucket.com/albums/jj493/pstrnil/Schermata2012-04-11a185341.png
as you can see in the image i get an error:
"Index is less than 0 or more then or equal to the list count"
this is normal in some cases, and if index isn't an appropriate value, then the Array List Get failure event should be activated. Am i right? Well, that's not happening, i get stuck on that node :-\
thanks for reading!
jeanfabre:
Hi,
Yes you are right, it's likely a bug, will catch it and send an update.( not today tho, likely tomorow).
Thanks for spotting this.
Bye,
Jean
jeanfabre:
Hi,
ok, completely overlooked this failure event management, so thanks for this :)
You can find the corrected script attached, simply put it in
Playmaker/Actions/Addons/ArrayMaker/ArrayList/
and the fail event will be properly handled and you should not get any errors using out of bounds indexes.
I am not going to make an update on the wiki as I am revamping the structure of ArrayMaker ( to make it outside the playmaker folder, which will be a lot easier and less invasive), but the next package version will of course include this fix.
Bye,
Jean
pustur:
At the beginning i was confused, then i saw the downloadable file ;)
thank you very much!
jeanfabre:
Hi,
Sorry, bad english, I should have phrased it differently.
Bye,
Jean
Navigation
[0] Message Index
[#] Next page
Go to full version