Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   setshape2 in the editor (https://forums.graalonline.com/forums/showthread.php?t=57332)

ApothiX 01-27-2005 01:33 AM

setshape2 in the editor
 
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

Quote:

Originally Posted by ApothiX
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

Quote:

Originally Posted by Stefan
Any setshape2 or only bugged calls (without blocking parts) ?

Any setshape2, as far as I know


Quote:

Originally Posted by Evil_Trunks
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

Quote:

Originally Posted by ApothiX
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?
Quote:

Originally Posted by ApothiX
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

Quote:

Originally Posted by Evil_Trunks
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:
NPC Code:

//#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:
NPC Code:

//#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.


All times are GMT +2. The time now is 01:32 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.