Thread: Y-Order
View Single Post
  #35  
Old 08-31-2002, 01:22 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Ungh.

Arrays? Yes it'll work, yes it'll be easy to script, but Oi. Arrays online are nightmarish. Until recently it was nearly impossible to tell if they'd been initialized, and I think it recently changed from filling with 0s on redefinition to preserving the old data. Very irritating.

Plus there's the problem of what if you're trying to do this in an overburdened system NPC. That makes it even uglier.

Advantages to my implimentation:
Does not require an additional command
Backwards compatible - changeimgvis 0 is going to be exactly the same
No display slowdown. It already checks layer before deciding to display above or below - what would it matter if it's a floating point or integer? The differencec in comparison time is negligible, if there's a difference at all.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote