death and other graphic

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am

death and other graphic

Post by coltain »

Situation:
Player has other than humanoid graphic (i.e. polymorf) and he dies.

A polymorf scipt is finished (backing up settings) but the mobile.graphic is a problem

I tried to set it like the distro script:
mobile.graphic := mobile.trueobjtype;

but in that case player`s screen is in color, not b&w

How to set it right???
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

I think there are better ways to do it now, but in the chrdeath I rez them quickly, fix up all the timers and graphics and effects, and then kill 'em again :) It all happens so fast the player is not aware of all the mess going on.

That way all the mods are nicely removed and the graphic is correct for when they rez a second time.

Crude? You bet.
Does it work? Yes indeed!
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am

Post by coltain »

I thought about that way...

Any other idea??
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Code: Select all

if ( mobile.dead )
    // check mobile.gender to set the correct ghost graphic
    // 402 403, etc.
else
    // restore original graphic
endif
[/code]
Post Reply