TRpgHero.setPortrait

TURBU

TRpgHero.setPortrait

 

Class

TRpgHero

 

Syntax

procedure setPortrait( filename: string; index: byte);

 

Description

This method changes the hero's current portrait (face graphic).  It first checks to see if index falls within the acceptable range (1..16) and if a FaceSet file is available with the name given by filename.  If either test fails, nothing happens.  Otherwise, it sets the hero's portrait to the appropriate portrait from that faceset.

This help file was created with the free trial version of HelpScribble.