Jump to content
Sign in to follow this  
{USI}_Zombie

setidentity

Recommended Posts

I am trying to give one of the ai in my mission a name instead of just the group/unit designation for sidechat.  I never used this feature before, and am not having any luck so far...here is the description.ext:

Quote[/b] ]

//////////////////////////////////////////////////////////////////////////

// Operation Flashpoint Description File

// Generated by Chris' OFP Script Editor

// Version 3.1.0000

//////////////////////////////////////////////////////////////////////////

Respawn = "BASE";

RespawnDelay = 5;

class CfgIdentities

{

class CrewChief

{

 name="CrewChief";

 face="Face20";

 glasses="None";

 speaker="Dan";

 pitch=1.1;

};

};

and I have this in the units init field, that is named CrewChief in the name block:

this setIdentity "CrewChief"

 when I put the line CrewChief sidechat "something" I see

1-1-B something in sidechat instead of 1-1-B CrewChief: something

banghead.gif

 Is what I am trying possible?  If so, what is wrong?  Thanks!

Share this post


Link to post
Share on other sites

I'm not 100% sure with ArmA, but in OFP a unit's identity name is only added to it's radio callsign if it is a player. In OFP you can define a few custom radio callsigns, in ArmA i think it's completely open. See the setGroupID command in the wiki.

edit: oops, digging up recent history. got confused between my search for new posts and search for some description.ext info.

Share this post


Link to post
Share on other sites

Indeed, that's what you're looking for.

As for setIdentity, this command was used in the campaigns to give units identities, that is a name (ex. David Armstrong), a face, and a voice, and that's it's only real purpose.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×