Updating paperdoll

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Updating paperdoll

Post by OldnGrey »

Hi,
Does anyone know if you can refresh the paperdoll when it's onscreen, or what can trigger it?

Failing that, is there any way to close it from a script so I can re-open it?

My apologies if this is either too simple or massively complicated.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

I'am not 100% sure, but i think only the client can do that, if the player reopens that gump.
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post by MontuZ »

Change the color of the player, at least the simplest way. Should update even if it's the same color.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Try calling OpenPaperdoll(who, who);
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

Nope, still can't seem to get the paperdoll to update completely. I have partial success though.

I can update the character graphic (eg color of the skin) by unequipping and equipping a layer (a small hat is fine). So that sort of takes care of most of the problem.

That leave the titles below. Can't seem to make them change eg with title.prefix etc. The real issue here is that this is appearing at a time when the player wants to change his name and even though their name is changed, the paperdoll doesn't show it.

We don't have the pid, so closing the gump that way won't work.
OpenPaperDoll, changing name, and changing color didn't work.
But thanks for the suggestions. Most helpful ideas.
Last edited by OldnGrey on Tue Jun 12, 2007 4:30 am, edited 1 time in total.
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post by MontuZ »

This is just an untested longshot, but try IncRevision(mobile);
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

MontuZ,
Nope. It doesn't trigger anything on the paperdoll. :(
So far equipping and unequipping layers is the only trigger I've found (apart from changing the graphic), but still nothing updates the name and title areas. grrr.
Post Reply