ID:1851009
 
(See the best response by Kozuma3.)
Is there a way to pull the information contained in atom.transform out in a readable format? I know we can pass it a list, but it doesn't seem to come back out that way.

Best response
Like this?



mob
verb
Test()
var/atom/T = src.transform
for(var/i in T.vars - "vars")
world << "[i] = [T.vars[i]]"
Yeah, that should work. Thanks :)
No problem :)
You don't have to cast it as an atom. It's a matrix.

When working with atom.transform, you're expected to use a matrix object and all the functions that come with them.
In response to Kaiochao
Kaiochao wrote:
When working with atom.transform, you're expected to use a matrix object and all the functions that come with them.

Of course, but this was to show a way to display the variables contained within transform.

Yeah, I got it. I'm not sure why I wasn't realizing that it was an actual matrix datum. Thanks again.
Fun with undocumented features: Create a new file in your project called stddef.dm, and it'll show you everything that's compiled in automatically.