ScriptUO

Scripting Resources & Utilities => OEUO => OpenEUO Scripting Tutorials => Topic started by: Superslayer on October 25, 2010, 12:25:57 AM

Title: CharType's in OEUO
Post by: Superslayer on October 25, 2010, 12:25:57 AM
alive
 - Human Male
   CharType = 400
 - Garg Male
   CharType = 666
 - Human Female
   CharType = 401
   CharStatus = B
 - Elf Female
   CharType = 606
   CharStatus = B
 - Elf Male
   CharType = 605   
 - Garg Female
   CharType = 667
   CharStatus = B 
   
   War Mode = G

dead
  - Elf Female
    CharType = 608
    CharStatus = B
  - Human Female
    CharType = 403
    CharStatus = B
  - Elf Male
    CharType = 607
  - Garg Female 
    CharType = 695
    CharStatus = B
  - Human Male
    CharType = 402
  - Garg Male
    CharType = 694
Title: Re: CharType's in OEUO
Post by: Endless Night on October 25, 2010, 05:32:28 AM
thanks ss... you know i was looking for that :)

EDIT: heres the charchost subs bassed off of that ..one to emulate EUO code the other for striaght LUA

Code: [Select]
function EUO_CharGhost()
  local result = 'NO'
  if UO.CharType ==  607 or UO.CharType == 608 then result='yes' end -- male/female elf
  if UO.CharType ==  694 or UO.CharType == 695 then result='yes' end -- male/female Gargole
  if UO.CharType ==  402 or UO.CharType == 403 then result='yes' end -- male/female Human     
 return result
end

function CharGhost()
  return ( UO.CharType==607 or UO.CharType==608 or UO.CharType==694 or UO.CharType==695 or UO.CharType==402 or UO.CharType==403 )     
end
Title: Re: CharType's in OEUO
Post by: Masscre on October 25, 2010, 05:37:52 AM
+1 Rep for posting this info. Thanks SS
Title: Re: CharType's in OEUO
Post by: Superslayer on October 25, 2010, 07:11:58 AM
My pleasure guys!
Title: Re: CharType's in OEUO
Post by: Cerveza on October 25, 2010, 07:45:12 AM
Having *all* forms would be awesome... Ninja, necro, spellweaving, etc...
Title: Re: CharType's in OEUO
Post by: Superslayer on October 25, 2010, 07:47:08 AM
My one human male was in vamp form, and the charstatus didn't change. I think Twinkle McNugget tossed some charstatus stuff at Cheffe a while ago for some debugging or whatnot.
Title: Re: CharType's in OEUO
Post by: Endless Night on October 25, 2010, 08:01:08 AM
a number of the forms are listed in the wiki

http://www.easyuo.com/openeuo/wiki/index.php/UO.CharType
Title: Re: CharType's in OEUO
Post by: Superslayer on October 25, 2010, 08:17:31 AM
I see to late! Looks like the male elf and vamp form share the same status? 605? hopefully it's a typo.