Option 1 would give greater flexibility I would think, because you could call up any function within a script, and add that to other objects in the world. On Tue, Oct 27, 2009 at 12:16 PM, Kent Petersen <kentkmp@xxxxxxxxx> wrote: > I was thinking #2. I was asking the same question also. > > What would be an advantage for doing it like option #1? > > > > On Tue, Oct 27, 2009 at 9:06 AM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote: > >> darn ok >> >> i'll put something in tonight. >> >> 3 options i see... >> >> #1 - give you the ability to detect when the mouse is clicked in script at >> any time as well as the ability to get the mouse cursor. This would be more >> work on your end but would give you more power in the long run >> >> #2 - make it so you can set a "click function" for an image like a >> button. Makes me wonder what the diff is between this and a button >> >> #3 - make a button rotateable and moveable >> >> do you have a preference? (: >> >> >> On Tue, Oct 27, 2009 at 8:58 AM, Kent Petersen <kentkmp@xxxxxxxxx> wrote: >> >>> Alan - I can't quite do what I want here. Maybe, I am logically doing it >>> wrong. I have it set up so I have a 4x4 grid of images and when you click on >>> them they would rotate. I think I also need the ability to click and move >>> them somehow (maybe need a right click as well?). The problem I am having is >>> that Images are not clickable OR if I used a 4x4 grid of buttons, they are >>> not rotatable and movable. >>> >>> >>> On Mon, Oct 26, 2009 at 7:54 PM, Apache User < >>> dhapache@xxxxxxxxxxxxxxxxxxx> wrote: >>> >>>> User:atrix256 >>>> >>>> Message: Added new script functions Kent wanted: UI_MoveImage and >>>> UI_RotateImage >>>> >>>> check out the lava map for an example of how to use em (or the script >>>> help of course!) >>>> >>>> <Files Changed> >>>> U ARRelease.exe >>>> U AR_LuaFuncs.cpp >>>> U AR_UI.cpp >>>> U AR_UI.h >>>> A Docs/Script Help/UI_MoveImage.html >>>> A Docs/Script Help/UI_RotateImage.html >>>> U Docs/Script Help/toc.html >>>> U Scripts/Personal/Alan/lavamap.lua >>>> U TextureManager.cpp >>>> U TextureManager.h >>>> >>>> >>>> >>> >> >