Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-06-2001, 05:10 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Well basically:
board[x+64*y] (where x and y are the x and y locations of the tile) will return what kind of tlie the tile is...
To change it you can for example use:
board[x+64*y]=tilex+16*tiley; (tilex and tiley can be checked when placing new tiles, it'll appear under the place where pics1.png is drawn if you've got tiles open, just keep your mouse pointer over a tile in that pics1.png and the tilex and tiley should appear)
Then to make the change visible you'd need to do:
updateboard x,y,width height;
And I have such a feeling I'm causing more confusion now then you had before.
__________________

Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


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