Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copy Map NPCs in Properties
#1
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 called
Code:
cmdCopy
Add this code to it:
Code:
Private Sub CmdCopy_Click(Index As Integer)
    cmbNpc(Index + 1).ListIndex = cmbNpc(Index).ListIndex
End Sub
Thats it, do it as many times as you want
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)