This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
What I would like to do / need to do somehow...
something like this
driftwood.inventory[item,plank]=1;
ben.inventory[item,chain]=2;
ash.inventory[item,pokeball]=24;
but better yet
char[0].inventory[item,plank]=1;
char[1].inventory[item,chain]=2;
char[2].inventory[item,pokeball]=24;
from what I see though I don't think you can use an array[0] as a struct name. Maybe I'm wrong, but I'm almost positive this is where I need to look for this type of data.
I'm messing around with constructors and I'm really getting nowhere. Any advice?
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/gamemaker/c...