ID:169078
Jul 31 2005, 11:00 am
|
|
i noticed when you do new/turf over another turf it deletes the one that was under it and leaves a black space where the remaining part of it wasnt filled, is there a way to get around this without having to use an obj?
|
Jul 31 2005, 11:02 am
|
|
This obviouslly isn't really a solution to the problem at all but an alternative: Overlay the turf with the turf you're about to add. So unless you need to use the new turf's variables and procs, it'll give the same effect.
|
In response to DeathAwaitsU
|
|
how would i go about doing that? im adding the new turf in a proc so id call up the other turf with a for(var/tuf/T in world) but then that would just get all of the turfs in the world that are the same.... im confused....
|
In response to Bladeshifter
|
|
ok basicly i dont think im gonna get this so ill just share my problem and see if n e one can help... i need to make an area that is a no build area, i cant do this with the turf becus of my current problem and i cant add it as an obj cus obviously u cant have the Entered() proc on an obj. so how could i do this? (Area is out of the question too because im using a weather code i made set for area and it takes up every where.)
|
In response to Bladeshifter
|
|
turf.overlays += T.icon I have no clue what you're trying to do after reading the other post. Try proof reading your posts and think of how someone who has no clue about your problem would look at it as. |
In response to Bladeshifter
|
|
Bladeshifter wrote:
ok basicly i dont think im gonna get this so ill just share my problem and see if n e one can help... i need to make an area that is a no build area, i cant do this with the turf becus of my current problem and i cant add it as an obj cus obviously u cant have the Entered() proc on an obj. so how could i do this? (Area is out of the question too because im using a weather code i made set for area and it takes up every where.) Maybe instead of making a whole new turf, you make a var in the turf called like nobuild and they can't build when it's 1. Then you'd have a verb or something that would change the value of the var. |
In response to Bladeshifter
|
|
Bladeshifter wrote:
ok basicly i dont think im gonna get this so ill just share my problem and see if n e one can help... i need to make an area that is a no build area, i cant do this with the turf becus of my current problem and i cant add it as an obj cus obviously u cant have the Entered() proc on an obj. so how could i do this? (Area is out of the question too because im using a weather code i made set for area and it takes up every where.) Translation: Im not going to solve the problem myself, so im going to share it with everyone, and see what you make of it. I need to make an area that no one can place buildings in, and i cant use turf because when you place a new/turf over another turf it deletes the one under it, and i cant use obj, because you cant use Entered() in an obj. How can i do this? I cant use area either, because im using code to act as weather, and other code would conflict. I'd dupe the Entered() proc, if at all possible. |