02-03-2007, 09:12 PM
It has not been tested, so backup your source.
Since there are not many new tutorials being created, I thought I should share one.
Difficulty 1/5
By William
Explanation
This will make it so a item can either:
Client Side
In frmItemEditor add a txt box named: txtDropable
You may only enter a number between 0 and 2, see the numbers above to know what they do.
Now in:
Add:
In:
Inside this if statement:
[code]If (frmItemEditor.cmbType.ListIndex >= ITEM_TYPE_WEAPON) And (frmItemEditor.cmbType.ListIndex = ITEM_TYPE_POTIONADDHP) And (frmItemEditor.cmbType.ListIndex
Since there are not many new tutorials being created, I thought I should share one.
Difficulty 1/5
By William
Explanation
This will make it so a item can either:
- 0 Be dropable always
- 1 Cant be dropped from inventory
- 2 Cant be dropped from inventory or enemy
Client Side
In frmItemEditor add a txt box named: txtDropable
You may only enter a number between 0 and 2, see the numbers above to know what they do.
Now in:
Code:
Public Sub ItemEditorInit()
Code:
frmItemEditor.txtDropable.Text = Item(EditorIndex).DropAble
In:
Code:
Public Sub ItemEditorOk()
[code]If (frmItemEditor.cmbType.ListIndex >= ITEM_TYPE_WEAPON) And (frmItemEditor.cmbType.ListIndex = ITEM_TYPE_POTIONADDHP) And (frmItemEditor.cmbType.ListIndex