Getting a Custom Class Name from a String #1023
Unanswered
THEkatinamicrowave
asked this question in
Q&A
Replies: 2 comments
-
|
also I am going to be offline for like multiple days (until 7/18/26, precisely) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Perhaps you could use a dot delimiter instead ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
have an ini file
data/mythingstuffs/classes.ini:have a class file
source/classes/Piss.hx:Goal is to fetch the class by ID so like
getIniClass("pissclass");would give meclasses/Pissbut like the actual class. Problem for me is finding that way to get classes from that string "classes/Piss", butType.resolveClass()doesn't work and I couldn't find any reference to how HScript finds custom classes. So, I'm a bit stuck at the moment. Please helpBeta Was this translation helpful? Give feedback.
All reactions