Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Arrays in user defined types?

Author
Message
bigtunacan
8
Years of Service
User Offline
Joined: 24th Jul 2015
Location:
Posted: 13th Feb 2016 06:23
It looks like there is no way to define an attribute as an array type within a user defined type?

So I want something sort of like the following.



Is there currently some way to work around this limitation? Or is this a feature that is available, but I'm just not familiar with?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Feb 2016 08:44
there are lots of posts about this, for example hits 2 and 3...

https://forum.thegamecreators.com/search?q=arrays&type=threads&boardid=
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
bigtunacan
8
Years of Service
User Offline
Joined: 24th Jul 2015
Location:
Posted: 13th Feb 2016 21:08
What about initializing values in an array that exists with a user defined type?

The following for instance does not work.

Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 13th Feb 2016 22:56
There was some improvements to adding values to arrays coming in 2.0.17. Maybe this will be included.

Login to post a reply

Server time is: 2024-04-23 10:00:43
Your offset time is: 2024-04-23 10:00:43