![]() |
Attribute editor fill button/Map Editor Fill Button - Printable Version +- Mirage Engine (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: Attribute editor fill button/Map Editor Fill Button (/showthread.php?tid=250) |
Attribute editor fill button/Map Editor Fill Button - DarkX - 20-08-2006 Tutorial/Code by: DarkX (Refrence for this code is from the second part of the tutorial) Ok this is my first actual tutorial, ONLY the first half is mine, here is the tutorial for any one who hasn't already figured it out: Attribute fill button! open frmMirage and find your mapeditor then the attributes part, then make a new command button name it cmdFill2 with the caption Fill then double click it and the code below. Code: Private Sub cmdFill2_Click() Code: If frmMirage.optW/E.Value = True Then .Type = TILE_TYPE_W/E ------------------------------------------------------------------------------------- Ok here's the 2nd part for the map editor fill button Tutorial/Code by: Lucidar 'make a button called cmdFill 'put the following code inside it: ' Code: Dim y As Long 'With a little editting you can do the same for attributes 'and thaTS ALLL!!!!!! - Robin - 20-08-2006 aight i get what the fill does, but whats the point of fill attribute - DarkX - 20-08-2006 the map editorfill button is for lazy people who want the whole map one graphic type, but don't want to wave their hands around on the mouse for 5 seconds. The Attribute fill button is for people who want to make the map either mostly blocked or mostly npcavoid, but are to lazy to wave their hands over the sreen acouple times. - Robin - 20-08-2006 OHHH i get it lol, its to fill the atributes ![]() - DarkX - 20-08-2006 LOL, np. |