OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Zombie on 11 Feb 2007, 12:05:38

Title: PapaBear
Post by: Zombie on 11 Feb 2007, 12:05:38
I have PapaBear defined like this:
PapaBear=[West,"HQ"]
in my init.sqs, but when I use the command PapaBear sidechat "blah blah.." in a script, it says
CROSSROAD BLAH BLAH..
how did I get from PapaBear to Crossroad?
Title: Re: PapaBear
Post by: Planck on 11 Feb 2007, 13:19:30
Ahhhh, well...........

This is because of this:

Code: [Select]
class CfgHQIdentities
{
 access = 0;
 class Base
 {
  name = "$STR_CFG_PAPABEAR";
  speaker = "NoVoice";
  pitch = 0.950000;
 };
 class HQ
 {
  name = "$STR_CFG_PAPABEAR";
  speaker = "NoVoice";
  pitch = 1.050000;
 };
 class PAPA_BEAR
 {
  name = "$STR_CFG_PAPABEAR";
  speaker = "NoVoice";
  pitch = 1.050000;
 };
 class AirBase
 {
  name = "$STR_CFG_FIREFLYBASE";
  speaker = "NoVoice";
  pitch = 1.050000;
 };
};

And the important little bit.................. $STR_CFG_PAPABEAR, which is defined in the stringtable as "CROSSROAD"

Incidentally.......... $STR_CFG_FIREFLYBASE is "BASE FIREFLY"


Planck