I imagine Drag'N'Drop won't be very useful for this sort of thing, being that you cannot create arrays with it. Unless someone has a way to create what you're looking for without them.
Umm..not sure where you get your info, but Drag n Drop is just a coding style, there is nothing that can't be done.
It is just a VISUAL DEVELOPMENT TOOL
and its great for rapid prototyping
Saying you can't do something in drag and drop is a MYTH, it just generates the code for you, GML is GML
right click on any objects event and select LIVE PREVIEW and you will see the code it generated
and any code that is not DnD can be easily clipped and placed in an exec code DnD
when using the function dnd you just leave the ( ) off to call it
Yes arrays can be declared. with assign var dnd [0,1,2]
i use ds_list for my inventory but that is my preferance i could use arrays.
or even arrays within my ds_list
and to answer your question there is a set and get global var dnd that you can use without the global prefix
but i would rather use the assign var dnd global.var so that you don't get confused which vars are global for getting and setting