Movable corpse

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
FreeSoul
Master Poster
Posts: 90
Joined: Sat Feb 04, 2006 9:14 am

Movable corpse

Post by FreeSoul »

Is it possible to make corpse (0x2006) movable to take a body of defeated character from battleground?

in itemdesc it have
movable 1
weight 50

but I can't take it to hand
Fistandantilus
New User
Posts: 3
Joined: Tue Mar 07, 2006 2:26 am

Post by Fistandantilus »

Corpses are a special class in escript programming. I remember something from previous forum about this issue, and i believe answer was you'll have to destroy and recreate corpse (with all the props and cprops) for each location you move it. And, definitely, wont look like a smooth movement :\
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

Easiest solution is change it's ControlScript to a script you can use to destroy it and recreate it elsewhere (if needed). Be sure to read all cprops (there is a command for listing all properties. Read the script for the textcommand propedit).

Remember, to display the clothing and such, the EASIEST solution is create the new corpse FIRST, then move all the items to it before destroying the old corpse (should help preserve the Layers of the clothes to wear).
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

You cant make it draggable...
You can do corpse.movable = 1 then move it around with MoveItemToLocation() though.
Post Reply