Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-28-2004, 09:04 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Tiles[x,y] On Pics1?

Ok question i've reached a brain cramp.
If you need to say, showimg a part of the tileset that replicates a current section of the tiles on ground how would i find the changepart 1,x,y,16,16;
for each tile?
the x and y that is how would i use tiles[playerx,playery] that variable and turn it into an x and y for the pics1?
Or is that possible? I was thinking something on the lines of

y=int(tiles[playerx,playery]/64);
x=tiles[playerx,playery]-y;

But thats not working my god my heads hurting O_O
*Edit*
My wording is probably confusing sorry
How would I turn a tiles[x,y] into a position x,y for the tileset ?
BTW im using new order format which has not much to do with it other than it seems to work different from regular tiles. Pulling up variables and what not O_O
__________________

To the sun of your age, I arise
Reply With Quote
 


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 11:55 PM.


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