Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Apprencite on April 16, 2017, 06:28:47 PM

Title: Array export[SOLVED]
Post by: Apprencite on April 16, 2017, 06:28:47 PM
Good Day!
I have string array with about 10000 item in it, so I cant manually put all this strings  into a array wariable. PLEASE tell Me how can I export this array from cs file to PlayMaker array variable.
THANKS!
Title: Re: Array export
Post by: djaydino on April 16, 2017, 08:18:11 PM
Hi,
I don't think you can in the editor, but you can in runtime

place the script on an object, then drag the script in the playmaker state window, select 'get properties'
select the array on the script when selected there will be a 'store array' selection box

add a array variable and there you go :)
Title: Re: Array export
Post by: Apprencite on April 18, 2017, 06:12:20 AM
Thank You so much! It works!
Title: Re: Array export
Post by: djaydino on April 18, 2017, 07:30:51 AM
Happy to help :)