Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-03-2005, 12:41 AM
SSS SSS is offline
Owner of Sceleris
Join Date: Jan 2005
Posts: 14
SSS is on a distinguished road
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?
Reply With Quote
  #2  
Old 03-03-2005, 01:18 AM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to 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.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #3  
Old 03-03-2005, 03:34 AM
Arnack Arnack is offline
Kojiro Chang
Arnack's Avatar
Join Date: Oct 2004
Posts: 154
Arnack is on a distinguished road
Sorry to poke my nose in, I don't do it ussially, but where could I leanr GScript2?
__________________
I support the 2k1 Revision!

|AIM| ghettoghuy1337
|MSN| [email protected]
|Email| [email protected]
Reply With Quote
  #4  
Old 03-03-2005, 06:33 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
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
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #5  
Old 03-03-2005, 11:25 PM
Arnack Arnack is offline
Kojiro Chang
Arnack's Avatar
Join Date: Oct 2004
Posts: 154
Arnack is on a distinguished road
Is that GScript2? 2?
__________________
I support the 2k1 Revision!

|AIM| ghettoghuy1337
|MSN| [email protected]
|Email| [email protected]
Reply With Quote
  #6  
Old 03-03-2005, 11:28 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
Quote:
Originally Posted by Arnack
Is that GScript2? 2?
did you even read it?
__________________

Reply With Quote
  #7  
Old 03-04-2005, 03:14 AM
Arnack Arnack is offline
Kojiro Chang
Arnack's Avatar
Join Date: Oct 2004
Posts: 154
Arnack is on a distinguished road
Yes, for GScript2, didn't find it?
__________________
I support the 2k1 Revision!

|AIM| ghettoghuy1337
|MSN| [email protected]
|Email| [email protected]
Reply With Quote
  #8  
Old 03-04-2005, 03:28 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
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.
__________________
Save Classic!
Reply With Quote
  #9  
Old 03-04-2005, 11:45 PM
Arnack Arnack is offline
Kojiro Chang
Arnack's Avatar
Join Date: Oct 2004
Posts: 154
Arnack is on a distinguished road
What? To me a blank page.
__________________
I support the 2k1 Revision!

|AIM| ghettoghuy1337
|MSN| [email protected]
|Email| [email protected]
Reply With Quote
  #10  
Old 03-05-2005, 02:13 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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);
Reply With Quote
  #11  
Old 03-05-2005, 06:02 AM
Arnack Arnack is offline
Kojiro Chang
Arnack's Avatar
Join Date: Oct 2004
Posts: 154
Arnack is on a distinguished road
It is just a blank screen?
__________________
I support the 2k1 Revision!

|AIM| ghettoghuy1337
|MSN| [email protected]
|Email| [email protected]
Reply With Quote
  #12  
Old 03-05-2005, 08:14 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
press refresh and it should load in for you.
__________________
Save Classic!
Reply With Quote
  #13  
Old 03-05-2005, 08:53 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
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.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:58 PM.


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