Thread: Nw2png
View Single Post
  #80  
Old 11-21-2011, 08:33 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by ffcmike View Post
Now I finally figured out how to get this to work it is quite excellent.

One problem I noticed though is that having 2 different lines of setimgpart within the same script causes it to break.
In this case I had a setimgpart both Clientside in GS1 and serverside in GS2:
PHP Code:
function onCreated(){
  
this.setimgpart("classic_levelitem_roof_church.png"64012848);
}

//#CLIENTSIDE
if(created){
  
setimgpart classic_levelitem_roof_church.png64012848;

One improvement that would be great to have is the ability to assign image names to detectable joined classes.
Here ya go, should be fixed!

Edit: Oops, I uploaded a bugged version! I accidentally broke some of the parsing so here's a new fixed one that SHOULD work!
Attached Files
File Type: zip NW2PNG.zip (219.2 KB, 223 views)

Last edited by DustyPorViva; 11-21-2011 at 08:55 AM..
Reply With Quote