Page 1 of 1
Movable corpse
Posted: Sat Mar 11, 2006 9:45 am
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
Posted: Sat Mar 11, 2006 11:13 am
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 :\
Posted: Sat Mar 11, 2006 2:12 pm
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).
Posted: Sat Mar 11, 2006 2:40 pm
by Austin
You cant make it draggable...
You can do corpse.movable = 1 then move it around with MoveItemToLocation() though.