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-22-2012, 07:32 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
GuiTilesCtrl and related functions

What is a GuiTilesCtrl and how do I use it? Seems to come with a few interesting functions:

GuiTilesCtrl.loadtilemap(str, str) - returns object
GuiTilesCtrl.loadtilemapxml(str) - returns object


PHP Code:
-  TTileMap (TGraalVar):
-    
clear() - clears the tile maponly works for script-created tile maps
-    destroy() - deletes the tile maponly works for script-created tile maps
-    findanimation(str) - returns object
-    findimagemap(str) - returns object
-    loadtilemap(strstr) - returns object - use loadTileMapXML instead
-    loadtilemapxml(str) - returns object loads a level in the new format (gxml); this is for data processing only, if you want to display it then use GuiTilesCtrl or create a gmap with the line TILEMAP yourmap.gxml
-    saveasimage(strintbool) - generates a screenshot of the whole mapparameters are the file namenumber of pixels per unit and if it should clip to visible objects 
__________________
Follow my work on social media post-Graal:Updated august 2025.
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 04:00 PM.


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