playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
ArrayMaker sort alphabetically by name[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: ArrayMaker sort alphabetically by name[SOLVED] (Read 3106 times)
escpodgames
Hero Member
Posts: 687
ArrayMaker sort alphabetically by name[SOLVED]
«
on:
February 13, 2013, 07:28:39 PM »
Hi,
I need to sort an array list alphabetically, the Array list sort action only works with strings from what I can tell.
On game startup I add a bunch of positions to an array, these positions are taken from existing game object. Everything works as expected except the order of the positions eg,
position_03
position_01
position_04
position_02
I did found an old thread -
http://hutonggames.com/playmakerforum/index.php?topic=2381.0
Any word on this jean?
«
Last Edit: July 24, 2018, 04:09:36 AM by jeanfabre
»
Logged
Simple Assets -
https://www.assetstore.unity3d.com/en/#!/publisher/5217
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: ArrayMaker sort alphabetically by name
«
Reply #1 on:
February 15, 2013, 02:32:48 AM »
Hi,
I am not sure what to do cause I can't seem to find a working sample on the net to give me some hints as how to do it.
I would suggest you save the gameObjects names and then sort them. Would that not work?
bye,
Jean
Logged
escpodgames
Hero Member
Posts: 687
Re: ArrayMaker sort alphabetically by name
«
Reply #2 on:
February 17, 2013, 09:23:25 PM »
I think ill just manually add the positions to the array, not ideal but at least it will work.
Thanks anyways Jean
Logged
Simple Assets -
https://www.assetstore.unity3d.com/en/#!/publisher/5217
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: ArrayMaker sort alphabetically by name
«
Reply #3 on:
February 18, 2013, 12:46:35 AM »
Hi,
is it something you don't have to do at run time?
bye,
Jean
Logged
escpodgames
Hero Member
Posts: 687
Re: ArrayMaker sort alphabetically by name
«
Reply #4 on:
February 18, 2013, 01:23:08 AM »
It doesn't have to be done at runtime but would make it a lot easier as each level would have a different amount of items in the array.
Logged
Simple Assets -
https://www.assetstore.unity3d.com/en/#!/publisher/5217
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: ArrayMaker sort alphabetically by name
«
Reply #5 on:
July 24, 2018, 04:09:25 AM »
Hi,
ok, the original thread now has a working action for this:
http://hutonggames.com/playmakerforum/index.php?topic=2381.msg10563#msg10563
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
ArrayMaker sort alphabetically by name[SOLVED]