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

Equip and Unequip


Zzbrandon
 Share

Recommended Posts

Doesnt seem to be doing anything dont I edit the numbers for .top and .bottom .right .left?

```

If itemnum > 0 Then

itempic = Item(itemnum).Pic

With rec

.Top = 0

.Bottom = 64

.Left = 32

.Right = 64

End With

With rec_pos

.Top = EqTop

.Bottom = .Top + PIC_Y

.Left = EqLeft + ((EqOffsetX + 32) * (((i - 1) Mod EqColumns)))

.Right = .Left + PIC_X

End With

```
Link to comment
Share on other sites

I edited that also Oreo and it doesnt move the blackbox where the items appear instead it just leaves it where it is and if I edit .top .bottom .left and .right it just move the image of the item inside the box??

I want to change where the item icon appears because I edited the Gui and it is a little more above where the item icons are supposed to appear. Thanks
Link to comment
Share on other sites

```

Public Const EqTop As Long = 224

Public Const EqLeft As Long = 18

Public Const EqOffsetX As Long = 10

Public Const EqColumns As Long = 4

```
handles the starting position used for drawing equipment. If you want to move everything then edit those. If it's only certain items you want to move, follow what oero said.
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...