Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Gscript2 Showpoly (https://forums.graalonline.com/forums/showthread.php?t=57904)

SSS 03-03-2005 12:41 AM

Gscript2 Showpoly
 
I just started using gscript2 last night and figured most things out on my own,but having some probs right now with showpoly..

In the docs it says:
showpoly(float,array);
I used:
showpoly(203+imgindex,imgx,imgy,imgx+5,imgy,imgx+5 ,imgy+5,imgx,imgy+5,imgx,imgy);

I used a bunch of different variations but none worked properly, meaning the polygon wasnt shown.
Any scripter gawdz out there that can help me? ;)

Polo 03-03-2005 01:18 AM

It says array, so I assume youd need to provide your co-ordinates explicitly as an array... soo...

NPC Code:

showpoly(203+imgindex,{imgx,imgy,imgx+5,imgy,imgx+ 5 ,imgy+5,imgx,imgy+5,imgx,imgy});



I think thats the one x-x.

Arnack 03-03-2005 03:34 AM

Sorry to poke my nose in, I don't do it ussially, but where could I leanr GScript2?

Dach 03-03-2005 06:33 AM

Quote:

Originally Posted by Arnack
Sorry to poke my nose in, I don't do it ussially, but where could I leanr GScript2?

http://ilfirin.org/graal/GScript
good place to start

Arnack 03-03-2005 11:25 PM

Is that GScript2? 2?

Evil_Trunks 03-03-2005 11:28 PM

Quote:

Originally Posted by Arnack
Is that GScript2? 2?

did you even read it?

Arnack 03-04-2005 03:14 AM

Yes, for GScript2, didn't find it?

maximus_asinus 03-04-2005 03:28 AM

I had to go to http://ilfirin.org/graal/GScript2 then click on the link to go back to that page for it to work.

Arnack 03-04-2005 11:45 PM

What? To me a blank page.

jake13jake 03-05-2005 02:13 AM

Quote:

Originally Posted by Polo
It says array, so I assume youd need to provide your co-ordinates explicitly as an array... soo...

NPC Code:

showpoly(203+imgindex,{imgx,imgy,imgx+5,imgy,imgx+ 5 ,imgy+5,imgx,imgy+5,imgx,imgy});



I think thats the one x-x.

And if that doesn't work you can always do:
sillyarray = {array};
showpoly(index,sillyarray);

Arnack 03-05-2005 06:02 AM

It is just a blank screen?

maximus_asinus 03-05-2005 08:14 AM

press refresh and it should load in for you.

Kaimetsu 03-05-2005 08:53 AM

No, it has been moved. But the links on the page make its new location goddamn obvious, so I am not sparing much sympathy here.


All times are GMT +2. The time now is 02:30 PM.

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