Scripting Resources & Utilities > OpenEUO Scripting Tutorials

CharType's in OEUO

(1/2) > >>

Superslayer:
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

Endless Night:
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: ---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
--- End code ---

Masscre:
+1 Rep for posting this info. Thanks SS

Superslayer:
My pleasure guys!

Cerveza:
Having *all* forms would be awesome... Ninja, necro, spellweaving, etc...

Navigation

[0] Message Index

[#] Next page

Go to full version