Well it seems papyrus lacks class object support, i did however find JContainers(http://www.nexusmods.com/skyrim/mods/49743/?) which allowed me to pass data in dynamic arrays. It's not ideal but it gets the job done.
Ah i see, so there is no universal object type either? Can i cast my script as a Form (from what i read it seems to be the closest thing to an object) put it in a Form array and then revert it back to my script to use?
I'm somewhat new to papyrus scripting but have managed to write fairly large script mod so far. My coding experience is mostly in java so i know object based code. My question is if papyrus supports custom object types and if you can make an array out of them. For instant make a script named TagObject that acts as an object
scriptname TagObject
String Property name = "" Auto
Float Property base = 0.0 Auto
Float Property gen = 0.0 Auto
Float Property walk = 0.0 Auto
Float Property run = 0.0 Auto
So i can have many instances of TagObject all with different values Then make an array to hold the object such as below
TagObject tag = new TagObject[10]