ID:2369434
 
(See the best response by Nadrew.)
Code:


Problem description:
I have an area which has an icon_state that is null to start with, but I want to change its icon_state to a transparent purple color. When I make that assignment statement, however, nothing happens. I put a message check to say something like "Area icon is being changed!" and sure enough, it says that when I load the game up. Any ideas?
Is the layer of the area higher than the turfs belonging to it?
area layer is 1, turf is 2. I'm not entirely sure which is higher, or how that all works. I'm coming directly from having finished reading like the first 8 chapters of the guide.
Best response
You'd want to set it to something like TURF_LAYER+1 or whatever you need.
One thing i'd like to point out is that apparently giving an area a sprite or tangible appearance tends to slow your game down tremendously. Wouldn't advice you do this.