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 09-26-2008, 10:25 PM   #1 (permalink)
Forum Novice
 
Join Date: Jun 2008
Age: 27
Posts: 162
Default New Conversion Error not listed

Im getting a error about random hair not listed or something here is the error i get

cs0117cs.: line 53; 'Server.items.hair' does not contain a definition for 'GetRandomHair'


I get this error on about 14 of my guys. Ive converted everything else just fine and now down to this final error but its not listed. Ideas?
oldschool-3038 is offline   Reply With Quote
Old 09-27-2008, 12:22 AM   #2 (permalink)
Forum Expert
 
Hammerhand's Avatar
 
Join Date: Jan 2006
Location: Look behind you....
Age: 44
Posts: 1,370
Default

Look in Scripts/Items/Facial/Hair.cs. You may see its commented out with a /*. Probably done when hair went virtual.
__________________
May you have the strength of eagles' wings,
the faith and courage to fly to new heights,
and the wisdom of the universe to carry you there.
Hammerhand is offline   Reply With Quote
Old 09-27-2008, 04:33 AM   #3 (permalink)
Forum Novice
 
Join Date: Jun 2008
Age: 27
Posts: 162
Default

ahh nice so how do we add hair to our npc's then on 2.0 ?
oldschool-3038 is offline   Reply With Quote
Old 09-27-2008, 04:49 AM   #4 (permalink)
Forum Novice
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 772
Send a message via ICQ to Soteric
Default

Try
Code:
Utility.AssignRandomHair( this );
Soteric is online now   Reply With Quote
Old 09-29-2008, 02:42 PM   #5 (permalink)
Forum Novice
 
Join Date: Jun 2008
Age: 27
Posts: 162
Default

Cool ty ty much needed iinfo
oldschool-3038 is offline   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