Home   Help Search Login Register  

Author Topic: SetIdentity  (Read 464 times)

0 Members and 1 Guest are viewing this topic.

GaryP

  • Guest
SetIdentity
« on: 17 Aug 2003, 17:59:44 »
Can anyone tell me if I'm on the right track?  I think the setIdentity is used to change the look of the solders, but I'm lost as to how to do it.  I want to pick members of my team and have them look different.

Is this the way?  And is there a list of all solders somewhere?

Captain Winters

  • Guest
Re:SetIdentity
« Reply #1 on: 17 Aug 2003, 18:51:24 »
[shadow=red,left,300]HEY GARY! WELCOME TO CPT. WINTER'S FORUMS!!! ERR OFPEC!!!![/shadow]
[/size]

anyways, i believe the setIdentity command is used for radio messages, the command ur looking for is

this setFace "Face10"

That goes in the dude's init and the faces range from 01-99! (i think!)

Tanks!  8)

Offline Burn

  • Members
  • *
Re:SetIdentity
« Reply #2 on: 17 Aug 2003, 19:12:40 »
This I found when searching the online comref:

person setIdentity identity

Operand types:
person: Object
identity: String
Type of returned value:
Nothing
Description:
Set identity of person. Identities are defined in descripion.ext of the mission or campaign.

Example:
setIdentity "JohnDoe"

Comment:

Sefe  October 31, 2002, 21:38  
Quote
The definition format in the description.ext is:

class CfgIdentities
{
   class HannibalSmith
   {
      name="Hannibal Smith";
      face="Face20";
      glasses="None";
      speaker="Dan";
      pitch=1.1;
   };
   class MrT
   {
      name="Mr. T";
      face="Face42";
      glasses="None";
      speaker="Ted";
      pitch=0.9;
   };
};

So if you just want to change the face do what Cap. Winters told you,
there should be a list of wich facenumber's wich face, in the unofficial com ref...
EX:
face10=bob... or sumthing like that.

But with setIdentity you can change the face, voice, pitch, glasses\no glasses\sunglasses and name... :joystick:
« Last Edit: 17 Aug 2003, 19:14:08 by Bizon »

GaryP

  • Guest
Re:SetIdentity
« Reply #3 on: 18 Aug 2003, 14:31:19 »
Thanks Bizon.  I could not find anything on faces in the tutorials.  I found SetIdentity in the online comref, but it only gives you how to use it.  It does not tell you the rest of the story.;D

And thanks Captain Winters.  That's what I wanted to do.