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 04-14-2002, 11:55 AM
XeroMaster XeroMaster is offline
Registered User
Join Date: Dec 2001
Location: Washington-=USA=-
Posts: 143
XeroMaster is on a distinguished road
Send a message via AIM to XeroMaster Send a message via Yahoo to XeroMaster
Tiletype (real,real)?

how do you use that command?

is it
NPC Code:
tiletypewater (x,y)



and also how do you use (I know i cant use it offline but i just want to know to become a better scripter)

setz real,real,real,real,real,real;
__________________
OUT OF MY MIND!
BACK IN 5 MIN.
AIM=Da First Bug
[email protected]
Reply With Quote
  #2  
Old 04-14-2002, 06:29 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Well, purely because I am doing some documentation for Graal2002, I have figured out setz. .
setz x, y, width, height, rise of left top, rise of right top, rise of bottom left, rise of bottom right;

Its kinda funny how it works...but it works (gmaps).
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #3  
Old 04-14-2002, 06:34 PM
Spanko Spanko is offline
Squeaker of Soles
Spanko's Avatar
Join Date: Nov 2001
Location: The Netherworl...lands
Posts: 1,366
Spanko is on a distinguished road
Send a message via ICQ to Spanko Send a message via AIM to Spanko Send a message via Yahoo to Spanko
Quote:
Originally posted by Saga2001
Well, purely because I am doing some documentation for Graal2002, I have figured out setz. .
setz x, y, width, height, rise of left top, rise of right top, rise of bottom left, rise of bottom right;

Its kinda funny how it works...but it works (gmaps).
It should contain a bumpiness value as well in my opinion, otherwise it looks to scarily flat/straight.
__________________

ICQ: 125283920
MSN: [email protected]
AIM: Squeax0r
Squeaker seems unable to access the forum using this account.. tis a sad day.
Now with occasional Asuka flavour! Ooops a bit too much...
Asuka should be king of Dustari!

"Y'know, some days even my lucky rocketship underpants don't even help."
Reply With Quote
  #4  
Old 04-17-2002, 08:06 AM
XeroMaster XeroMaster is offline
Registered User
Join Date: Dec 2001
Location: Washington-=USA=-
Posts: 143
XeroMaster is on a distinguished road
Send a message via AIM to XeroMaster Send a message via Yahoo to XeroMaster
tiletype...

could you explain tiletype (real,real) a little better?

can it alow you to walk on tiles you cant walk on, if so, how do you use it?
__________________
OUT OF MY MIND!
BACK IN 5 MIN.
AIM=Da First Bug
[email protected]
Reply With Quote
  #5  
Old 04-17-2002, 08:15 PM
XeroMaster XeroMaster is offline
Registered User
Join Date: Dec 2001
Location: Washington-=USA=-
Posts: 143
XeroMaster is on a distinguished road
Send a message via AIM to XeroMaster Send a message via Yahoo to XeroMaster
you said
Quote:
tiletype(x,y) returns the type of tile on x,y.
what dose it return the tile type to?

So I would like to know it there is a way to use this script to make you able to walk on 1 or 2 blocking tiles
(so you might be able to walk oh trees, but sill not walk on house and other things)
__________________
OUT OF MY MIND!
BACK IN 5 MIN.
AIM=Da First Bug
[email protected]
Reply With Quote
  #6  
Old 04-17-2002, 08:41 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
You know what you do when you use setshape2?

You put in the tile type for every tile you are setting in that NPC.. Well tiletype(x,y) will return that value, but on the scale over the whole map. So a normal blocking tile would be returned as 22. Grass would return as 0, etc etc.
__________________

subliminal message: 1+1=3
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 07:18 AM.


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