["Class" Name]
-Name
-Age
("Object") is a ["Class"] and inherits all variables from it.
Then something like:
// ... |
If anyone understands what I'm trying to do here, please help me. Thanks!
~Hi1
ID:157790
Dec 31 2009, 5:27 pm
|
||
So, I'm making an advanced party system and I cannot find out how to do this. All I need help with is making a custom "class" (as C/C++ would put it), then how to make something a part of that "class". Example:
["Class" Name] -Name -Age ("Object") is a ["Class"] and inherits all variables from it. Then something like:
If anyone understands what I'm trying to do here, please help me. Thanks! ~Hi1 | ||
#1 Dec 31 2009, 6:54 pm
|
||
They're called datums in DM. You create a custom datum the same you would to make a new mob.
| ||
I figured I use datums, but wasn't sure. How would I create a new [object] of that datum?
I have:
I know it wont work, but how do I do that? | ||
Exactly like creating a new atom...
| ||
Hi1 wrote:
I figured I use datums, but wasn't sure. How would I create a new [object] of that datum?now you just add the New() proc. | ||
Can you please stop replying to posts which the original poster had their questions done with? If you looked at the last post...
| |