PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Movable corpse

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
FreeSoul



Joined: 04 Feb 2006
Posts: 90
Location: Aman

PostPosted: Sat Mar 11, 2006 1:45 pm    Post subject: Movable corpse Reply with quote

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

Author Message
Fistandantilus



Joined: 07 Mar 2006
Posts: 3

PostPosted: Sat Mar 11, 2006 3:13 pm    Post subject: Reply with quote

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

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sat Mar 11, 2006 6:12 pm    Post subject: Reply with quote

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).

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 354
Location: San Diego, California

PostPosted: Sat Mar 11, 2006 6:40 pm    Post subject: Reply with quote

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

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty