Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Level Editor Help (https://forums.graalonline.com/forums/showthread.php?t=77838)

cbk1994 12-06-2007 05:39 AM

Level Editor Help
 
I have a question; in GUI's, how do you select tiles to use? I can't figure out how you would detect when they click inside, where they click inside, and what tiles they are selcting ...

Any help is appreciated!
Chris

cbk1994 12-06-2007 05:48 AM

Nevermind, I think I figured it out. My next question is ... is it possible to do a showpoly like thing to make a box around the selected tiles, like the offline editor does?

DustyPorViva 12-06-2007 06:09 AM

You could try an image GUI, but instead of image="xyz"; do poly={}; and see of that works. As for for detecting which tiles are selected, check out my thread in this section on translating pics1 to tiles[x,y] and vice-versa.


All times are GMT +2. The time now is 08:44 PM.

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