ID:175431
Apr 24 2003, 12:59 pm
|
|
Can i use one small code to make all the icon states turf? Because i have around 25 icon_states for water. And it will get really annoying if i have to do this to every one. Is there a code to get them all to be turf?
|
I was thinking something different then what DerDragon put, but if it is what I think you mean than you do this.
turf |
In response to DerDragon
|
|
DerDragon wrote:
Haha, well, it took me a minute to understand what you were asking, but I think what you want is the following: > world A side note, it's a piece of code, or a code snippet, not "a code", hehe, it sounds like you we're just giving BYOND passwords to unlock our games or something. no guys thats not what i need, look at what my code is: turf/water name = "Water" icon = 'water.dmi' density = 1 fall icon_state = "fall" tl icon_state = "tl" tr icon_state = "tr" left icon_state = "left" right icon_state = "right" bl icon_state = "bl" br icon_state = "br" now that is only a few of the water icon_states i have, i also have to put in the water fall ones and stuff. it totals to probably over 100 icon_states if you add the funiture icons i have and all this stuff. |
In response to Nave
|
|
No, what they told you is correct...there are no short cuts in making turfs(none that I know of anyhow). Sorry.
|
In response to Nave
|
|
Just make a single type of turf/water. In the map editor, select it, and somewhere in the menus there will be a "generate instances from icon states" option. Click on that, and there will be a list of icon_states in a small window on the left.
|
A side note, it's a piece of code, or a code snippet, not "a code", hehe, it sounds like you we're just giving BYOND passwords to unlock our games or something.