My Technical Issues-2

Since my last thread was locked out i’ll post my question here.

Ive created a NPC with the npc/baddie character generator,

if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head0.png;
setcharprop #C0,orange;
setcharprop #C1,white;
setcharprop #C2,blue;
setcharprop #C3,red;
setcharprop #C4,black;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}

and I have a body ive downloaded online(pitchknightbody.png). What I can’t figure out is how to change the body to the one ive downloaded.

add setcharprop #8,pitchknightbody.png;
and change if (created) to if (playerenters||created)

Here’s what I do for player NPC’s

if (created||playerenters) { // Initialize the attributes showcharacter; setcharprop #3,head0.png; setcharprop #8,pitchknightbody.png; setcharprop #C0,orange; setcharprop #C1,white; setcharprop #C2,blue; setcharprop #C3,red; setcharprop #C4,black; setcharprop #2,shield1.gif; shieldpower = 1; if (isleader) { dir = 2; } }

I tossed Cadavre’s solution in there, as well.

Thanks, works perfectly!

___Merged doublepost__________________

In my tutorial section I wanted to have the player start out with no weapons. Is there a way to do that?

dosn’t seem to work. Don’t know if it only shows up if your online or not. That or i’m entering it in wrong or the wrong way. Where is the cadavre’s gs1 command thread?