01-06-2006, 10:06 PM
Author: Renegade
Difficulty: 1/5
This basically adds a "copy" button for NPCs in the map editor. Instead of going through the list each time to place the same monster, you just click a button and it copies the NPC just above it.
:: CLIENT SIDE ::
In frmMapProperties, make a command button calledAdd this code to it:Thats it, do it as many times as you want
Difficulty: 1/5
This basically adds a "copy" button for NPCs in the map editor. Instead of going through the list each time to place the same monster, you just click a button and it copies the NPC just above it.
:: CLIENT SIDE ::
In frmMapProperties, make a command button called
Code:
cmdCopy
Code:
Private Sub CmdCopy_Click(Index As Integer)
cmbNpc(Index + 1).ListIndex = cmbNpc(Index).ListIndex
End Sub