Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 08-07-2008, 08:37 AM   #1 (permalink)
Forum Expert
 
ABTOP's Avatar
 
Join Date: Sep 2006
Location: Ukraine
Posts: 880
Default Mobile props in Gump

Hi, i have new idea for my script but don't sure how to do this.
Ok i need something like this:
1)Create mobile(Human) in script.
2)Add this mobile to List
3)Open gump with some props of mobile(mobile doesn't exist in world)
4)Change some props
5)If i need create mobile again with this props.

Same with Mobile Items(armour, mount, weapon).

So i will add mobile from script.
like
Code:
moblist.Add(new Guard());
then in Gump put lines
Code:
((Mobile)moblist[i]).Name; //or some other prop
and
Code:
Guard  g = new Guard();
g.Name = moblist[i].Name;
g.Fame = moblist[i].Fame;
...
...
I think i understand how do this with mobile. But how do this with moile staff?
I need only items which equiped.
ABTOP is online now   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5