Jump to content

AfkMan

Member
  • Content Count

    8
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About AfkMan

  • Rank
    Private
  1. I allready tried and failed. I havent found them even in CfgWorlds
  2. Yeah, they could. But i changed Sofia number to 12254 and default too - the city had changed. Changed to 8000 and city changed again.
  3. I bet these number mean something, because it works. It's a part of Params class in Description.ext. When launching a mission you can choose a first city to start and it works. But where did he get those numbers?=)
  4. Hello guys! I have a mission, the author made a few cities to be captured. I want to add more cities to play longer. Here's an author's code for the cities: class Params { class FrontLine { title = "START"; texts[] = {"Sofia", "Delfinaki", "Ioaninna", "Paros"}; values[] = {3389, 5316, 5871, 9680}; default = 3389; }; }; And now i wonder - where did he get those id's? How can i find such ID for a city?
  5. Yeah, quiet right. I was trying for two weeks. All because roleDescription aint working.
  6. Yes! Thanks! It finally works!!! HERE is a solution post for others! BTW, cant find that vars in Biki
  7. Hi there! I've got this files. Role selection system is working. Now i need to launch a script based on an actual roleDescr string. How can i find in onPlayerRespawn.sqf what was really selected by user? Here's a screenshot and code: Screenshot //rifle.sqf class dude1 { displayName = "RifleMan Dude"; //shows up in selection menu icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa"; //standart icon role = "Dudes";//Role the respawn inventory is assigned to, like a parent folder roleDescr = "Dude"; //try to get this in onPplayerRespawn.sqf }; //description.ext class CfgRoles { class Bitches //Class name used in CfgRespawnInventory, kinda parent folder { displayName = "Bitches";//Name of the role, displayed in the respawn menu icon = "a3\missions_f_exp\data\img\classes\assault_ca.paa";//Icon shown next to the role name in the respawn screen }; class Dumbasses //Class name used in CfgRespawnInventory { displayName = "Dumbasses";//Name of the role, displayed in the respawn menu icon = "a3\missions_f_exp\data\img\classes\assault_ca.paa";//Icon shown next to the role name in the respawn screen }; class Dudes //Class name used in CfgRespawnInventory { displayName = "Dudes";//Name of the role, displayed in the respawn menu icon = "a3\missions_f_exp\data\img\classes\assault_ca.paa";//Icon shown next to the role name in the respawn screen }; }; class CfgRespawnInventory { #include "loadouts\rifle.sqf" #include "loadouts\rifle2.sqf" #include "loadouts\rifle3.sqf" };
×