PenUltima Online

It is currently Fri Oct 10, 2008 10:54 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Movable corpse
PostPosted: Sat Mar 11, 2006 9:45 am 
Offline

Joined: Sat Feb 04, 2006 9:14 am
Posts: 90
Location: Aman
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 11, 2006 11:13 am 
Offline

Joined: Tue Mar 07, 2006 2:26 am
Posts: 3
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 :\


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 11, 2006 2:12 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
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).


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 11, 2006 2:40 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 420
Location: San Diego, California
You cant make it draggable...
You can do corpse.movable = 1 then move it around with MoveItemToLocation() though.

_________________
-Austin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl