[Request] Array with a Nameable 'X'

Post your work in progress addons and get feedback

Post » Mon Jan 06, 2014 1:48 am

I'm finally going to start my big project and am going to need to juggle a lot of data (for weapons, equipment, etc.)

So...

Could someone make me a variation of the array where I can refer to the "X" with a tag? (like Array.Get("Speed", 1, 0) )

It would make handling everything SO much easier.

Nothing else needs to change.

It would be a tremendous help.

Thanks
Follow me on Twitter @evgLabs
B
34
S
14
G
4
Posts: 251
Reputation: 4,074

Post » Mon Jan 06, 2014 1:49 am

Use CONSTANT global variables.

This way you can then use Array.at(MYGLOBALVARIABLE) for readability, no need for an extra plugin.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Mon Jan 06, 2014 1:57 am

Thanks, I've thought of that, I was kind of hoping for the array though. It seems like it would just be cleaner for me. I'm probably going to have multiple "Speeds" that might fall in different "X" in my arrays.
Follow me on Twitter @evgLabs
B
34
S
14
G
4
Posts: 251
Reputation: 4,074


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests