-
Posts
3 -
Joined
-
Last visited
Nexus Mods Profile
About FlyBy263
FlyBy263's Achievements
Newbie (1/14)
0
Reputation
-
[LE] Papyrus custom objects and arrays
FlyBy263 replied to FlyBy263's topic in Skyrim's Creation Kit and Modders
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. -
[LE] Papyrus custom objects and arrays
FlyBy263 replied to FlyBy263's topic in Skyrim's Creation Kit and Modders
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]