PDA

View Full Version : setshape2 in the editor


ApothiX
01-27-2005, 01:33 AM
Whenever I do a setshape2 call in an NPC in the GraalEditor, it doesn't let me select the NPC again, after I close the script dialog. It's simliiar to the soccerball apearing in house2.graal or whatever awhile ago.

Anyone know how to fix this?

Admins
01-27-2005, 01:41 AM
Whenever I do a setshape2 call in an NPC in the GraalEditor, it doesn't let me select the NPC again, after I close the script dialog. It's simliiar to the soccerball apearing in house2.graal or whatever awhile ago.

Anyone know how to fix this?

Any setshape2 or only bugged calls (without blocking parts) ?

Evil_Trunks
01-27-2005, 01:59 AM
just open the .nw file with notepad and fix it

it's easier to edit NPCs with notepad anyway, I think

ApothiX
01-27-2005, 05:33 AM
Any setshape2 or only bugged calls (without blocking parts) ?
Any setshape2, as far as I know


just open the .nw file with notepad and fix it
That is not a solution to the problem ;)

Evil_Trunks
01-27-2005, 06:50 AM
Any setshape2, as far as I know
only ones with all nonblocking tiles, as far as I know
I have just tested this
are you are using the command correctly?
That is not a solution to the problem
maybe not, but the editor does the same thing for transparent parts of images, etc. where you can't select the NPC unless you click on a blocking part

ApothiX
01-27-2005, 11:25 PM
only ones with all nonblocking tiles, as far as I know
I have just tested this
are you are using the command correctly?
Ah, so you are right, It only does that if you use all nonblocking tiles, I must have been using the command incorrectly before xD

Malinko
01-29-2005, 04:52 PM
Well if you do:

//#CLIENTSIDE
if (created) {
setshape2 3,3,{
3,3,3,
3,3,3,
3,3,3;
}
}


Then you can select the NPC.

Though, if you do:

//#CLIENTSIDE
if (created) {
setshape2 3,3,{
3,3,
3,3,
3,3;
}
}

Then you can't select the NPC, because you didn't really fill in the width and height.

Don't know if that makes sense on how I explained it, but try it, and you will see.