User talk:Erorr404/Editor/design: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Hey erorr, now that onClientClick passes a GUI element, can you add a check to prevent clicking on GUI causing picking up an element | Hey erorr, now that onClientClick passes a GUI element, can you add a check to prevent clicking on GUI causing picking up an element | ||
* Don't see a good way of doing this. I'll have to write a function that you call when you use the GUI that prevents them from interfering. --[[User:Erorr404|Erorr404]] 02:56, 10 June 2007 (CDT) | * Don't see a good way of doing this. I'll have to write a function that you call when you use the GUI that prevents them from interfering. --[[User:Erorr404|Erorr404]] 02:56, 10 June 2007 (CDT) | ||
** But "onClientClick ( string button, string state, cursorX, cursorY, worldX, worldY, worldZ, element clickedWorld, element clickedGUI )". Why not just add the last parameter, then use if (not clickedGUI) then? |
Revision as of 13:17, 10 June 2007
Hey erorr, now that onClientClick passes a GUI element, can you add a check to prevent clicking on GUI causing picking up an element
- Don't see a good way of doing this. I'll have to write a function that you call when you use the GUI that prevents them from interfering. --Erorr404 02:56, 10 June 2007 (CDT)
- But "onClientClick ( string button, string state, cursorX, cursorY, worldX, worldY, worldZ, element clickedWorld, element clickedGUI )". Why not just add the last parameter, then use if (not clickedGUI) then?