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
  #1  
Old 04-08-2006, 01:25 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Tile replacing

So say I want to replace all bushes and swamp in a level with normal grass tiles. Both bushes and swamp patches are comprised of 4 different tiles (8 in total) so using fill is not possible. I want to do this for several levels so using the level editor to replace them would be too time consuming. So I write a loop to check if each tile in a level is one of the 8 different tiles I want to replace, and if so it uses "tiles[x,y] =" to replace it. This works. The problem is that when I hit F4 and go back to the level editor, all the replaced tiles have reverted to their original form. Is there a way around this? If there isn't, there should be.
__________________
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 01:34 PM.


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