Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1050 thank(s) in 840 post(s)
Not sure, would have to be measured. The cost of callbacks is small but not negligible. It might even depend on the "Code here".
Posts: 4,622
Threads: 114
Joined: Dec 2011
Thanks: 693
Given 478 thank(s) in 413 post(s)
Back to the callback, I need something that does the opposite of MakeIndex. I need the X, Y and Z position from the blockcount.
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1050 thank(s) in 840 post(s)
I'm afraid you'll have to code that one yourself, for now.
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1050 thank(s) in 840 post(s)
It is possible in Lua; MCS could theoretically prevent this, but why bother. The only problem is that such extra properties (self.Name) won't get carried across some boundaries, such as inter-plugin comm, or callbacks (such as setting such a property in a cPlayer object and then doing ForEachPlayer later on)