It does not collaborate itself correctly. Instead it stays the default icon.
atom |
ID:149515
Apr 12 2002, 1:16 pm
|
||
I am trying to make it so that when you create the world all the powerlines in the world will orient themselves depending on whether there are powerlines next to it.
It does not collaborate itself correctly. Instead it stays the default icon.
| ||
#1 Apr 12 2002, 1:23 pm
|
||
Well, this is a version I used for Ensya (slightly modified), so it should work, assuming you're using the same way I am.
| ||
I edited it a bit but it still does not work!
| ||
#3 Apr 12 2002, 1:47 pm
|
|
I suppose it's time to release my Atom Merging library. I wanted to stick a couple of hooks in it for special situations, but it's fine for general purposes as it is now. Look for it on BYONDscape soon. :)
If you can't wait, or you don't have a BYONDscape subscription you could go to Pmikell's site ( http://www.pmikell.freeserve.co.uk/byond/examples/ autojoin.html ) for a very similar routine. Note that his icon_states don't correspond to the icon_states in my library. | |
instead of Offset() jsut use the built in get_step() proc.
var/turf/N = get_step(src,NORTH) | |
Shadowdarke wrote:
I suppose it's time to release my Atom Merging library. I wanted to stick a couple of hooks in it for special situations, but it's fine for general purposes as it is now. Look for it on BYONDscape soon. :) I use a modified version of his library that allows you to autojoin all kindsof atoms instead of just turfs. I wonder what ever happened to that guy. | |
Ebonshadow wrote:
I use a modified version of his library that allows you to autojoin all kindsof atoms instead of just turfs. I wonder what ever happened to that guy. One of my recent projects was a large amorphous multi-tile slime mob that auto-merges. I may even get around to finishing it one of these days. :P I miss Pmikell too. He was always doing interesting experiments with the BYOND engine. | |
I miss Pmikell too. He was always doing interesting experiments with the BYOND engine. He was here posting not too long ago (relatively speaking). He posted in General this February. Anyway, either he has been busy with other projects, or he has some kind of really nifty library up his sleeve. ;-) | |