Quote:
|
Originally Posted by Angel_Light
Hi all
okay, i'm messing with the P.E. (Particle Engine) and I came across a action I cant seem to figure out. I looked it up in the wiki and It shed some light but I cant get it to work. It's the 'playerlooks' action and could someone explain it to me thoroughly when the boolean is true or false? Please?
Thanks,
Mr. Omega
|
The property 'playerlooks' is for
TShowImg_Gani .
When you have a player in a gani, you can set the properties of the TShowimg_Gani to the player looks, or... You can manually set it by having findimg( ganiIndex ).actor.headimg = "head0.png";
The property 'playerlooks' just makes all the properties that of player. ( the current player ) become those of the gani as well.
PHP Code:
...
if ( playerlooks )
{
this.actor.headimg = player.headimg;
...
for ( i = 0; i < 30; i ++ )
this.actor.attr[ i ] = player.attr[ i ];
}
...
Pretty much.