Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Map editor and buttons


Jumbofile
 Share

Recommended Posts

just add  an option button in your map editor name it opthide  then double click it and paste this
```
' If debug mode, handle error then exit out
    If Options.Debug = 1 Then On Error GoTo errorhandler

    If opthide.Value Then
                picInventory.Visible = False
                picCharacter.Visible = False
                picSpells.Visible = False
                picOptions.Visible = False
                picParty.Visible = False
    End If

    ' Error handler
    Exit Sub
errorhandler:
    HandleError "optHide_Click", "frmEditor_Map", Err.Number, Err.Description, Err.Source, Err.HelpContext
    Err.Clear
    Exit Sub
```That gives you the option of turning them off while your mapping
Link to comment
Share on other sites

Its not really better or worse just a preference i guess lol, i suppose in frm main  you could just make it say if frmmapeditor is visible then the other stuffs visible is false i just  added it as an option because what if one day you wanna map but see what it will look like in game when all the menus are up?
Link to comment
Share on other sites

Add
```
picInventory.Visible = True
                picCharacter.Visible = True
                picSpells.Visible = True
                picOptions.Visible = true
                picParty.Visible = True

```in the close event of the map editor.
Also if you have hidden anything else do name.visible = true
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...