Print Page | Close Window

Copy the NPCs

Printed From: Mirage Source
Category: Tutorials
Forum Name: Approved Tutorials
Forum Discription: All tutorials shown to actually work with MSE are moved here.
URL: http://ms.shannaracorp.com/backup-forums/forum_posts.asp?TID=22
Printed Date: 20 December 2006 at 6:00pm
Software Version: Web Wiz Forums 8.01 - http://www.webwizforums.com


Topic: Copy the NPCs
Posted By: Sync
Subject: Copy the NPCs
Date Posted: 07 February 2006 at 4:58pm
Originally Posted By Renegade

Well what this code does it Copy the NPC you dont above

E.G

Drunken pirate
No NPC     Copy

Click the copy Button and it makes it

Drunken pirate
Drunkey pirate

Without selecting it

Ok im map properties Make a Command button Called
CMD copy

Add this code to it


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

(First tut!)




Replies:
Posted By: Sync
Date Posted: 07 February 2006 at 4:58pm
Approved




Print Page | Close Window

Bulletin Board Software by Web Wiz Forums version 8.01 - http://www.webwizforums.com
Copyright ©2001-2006 Web Wiz Guide - http://www.webwizguide.info