![]() |
Using Click for Actions - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Using Click for Actions (/showthread.php?tid=33) |
Using Click for Actions - Tutorial Bot - 01-06-2006 Author: ? (unknown) Difficulty: 2/5 This is an example of how to use clicking for different things. I'll show you a basic mining with click code. Code: Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) You could change it and make it so if they are next to the rock in any direction it turns them to it and begins to mine or you could use bits of the code for walking. |