Results 1 to 4 of 4

Thread: Problem with setidentity

  1. #1
    Sergeant TexKaz's Avatar
    Join Date
    Jul 5 2010
    Location
    Third Rock from the Sun
    Posts
    129

    Problem with setidentity

    This problem has me really over a stump. So it isnt working. Nothing that I do will change the face, name, or voice. I had it working for a bit and the voice on my Russian character was english and I just couldnt have that. So I did some tweaking around and reloaded in the editor and I had an error causing me to quit.
    Anyways, here is my description.ext.
    Spoiler:


    I also put the code onto a charecter with this setidentity "andrei";. Did not work. So I named him yuri and did yuri setidentity "andrei";. Still did not work. Anyone see any problem here?
    Last edited by TexKaz; Aug 2 2012 at 10:28.

  2. #2
    this does not work.
    Code:
    this setidentity.ext
    http://community.bistudio.com/wiki/setIdentity
    Correct:
    Code:
    this setIdentity "andrei";

  3. #3
    Sergeant TexKaz's Avatar
    Join Date
    Jul 5 2010
    Location
    Third Rock from the Sun
    Posts
    129
    Author of the Thread
    no that is a typo on my part. I typed this setidentity "andrei". and yuri setidentity "andrei".

  4. #4
    Check the formatting of the brackets and semicolons, as the last entry in cfgIdentities is formatted differently and I've had it CTD when this happens. On iPad now or I'd pull up an example. I believe the last entry, or only entry if there is only one in cfgIdentities, needs to only have the semicolon after the class brackets end, but not the last entry within the class.

    EDIT: Ok I had to check on this to make sure, here's an example of the proper formatting (note the highlighted red diff btwn yours):

    Code:
    class CfgIdentities
    {
    
    class Jaw1h
    {
    name="Gary";
    face="face72";
    glasses="cap_desert_h";
    speaker="MALE02EN";
    pitch=1.02;
    };
    
    class NA2h
    {
    name="Nasir";
    face="Face17_EP1";
    glasses="com_headset";
    speaker="MALE04TK";
    pitch=0.96;
    };
    
    class JanMo
    {
    name="Jan Mohammad";
    face="Face12_EP1";
    glasses="None";
    speaker="MALE02TK";
    pitch=0.97;
    }
    };
    Last edited by h34dup; Aug 2 2012 at 13:00.

Similar Threads

  1. SetIdentity
    By Genpatton043 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 6
    Last Post: Jul 13 2012, 13:16
  2. What is wrong with this SetIdentity?
    By Khalashnikovf in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 20
    Last Post: Sep 4 2011, 06:01
  3. Setidentity and sidechat
    By tpw in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Oct 7 2010, 15:56
  4. SetIdentity Command
    By Hoot1988 in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 1
    Last Post: Sep 12 2007, 14:38
  5. setidentity
    By {USI}_Zombie in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 4
    Last Post: Feb 12 2007, 20:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •