![]() |
Help!!!
// Graal2001 NPC by Stefan Knorr
if (created) { // Initialize the attributes showcharacter; setplayerprop #3,no-head.gif; setcharprop #8,body.png; setcharprop #C0,orange; setcharprop #C1,white; setcharprop #C2,blue; setcharprop #C3,red; setcharprop #C4,black; setcharprop #2,no-shield.gif; shieldpower = 1; dir = 2; } if (playertouchsme) { this.body=timevar; body+=1; message body#v(body).png; setcharprop #8,body#v(body).png; } Why dont this work right? It needs to loop after body12.png and start back at .png |
Re: Help!!!
Quote:
|
Re: Re: Help!!!
Quote:
|
A Quote:
One who dies... Well... Dies |
Re: Help!!!
i think this worx
// NPC fixed by Darkyoshi1 if (created) { showcharacter; setcharprop #3,head478.gif; setcharprop #8,body.png; setcharprop #C0,orange; setcharprop #C1,white; setcharprop #C2,blue; setcharprop #C3,red; setcharprop #C4,black; setcharprop #2,no-shield.gif; shieldpower = 1; dir = 2; } if (playertouchsme&&this.body<12) { this.body+=1; message body#v(this.body/100*100).png; setcharprop #8,body#v(this.body).png; } else{ this.body=2; } |
Re: Re: Help!!!
Quote:
|
| All times are GMT +2. The time now is 11:52 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.