Jump to content

smutton

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About smutton

  • Rank
    Rookie
  1. I'm not seeing Aziro being defined anywhere as a string (aside as it being a class definition), so I'm guessing you forgot to put this into quotations? class cfgFactionClasses { class Aziro_Mod { displayName = "Aziro"; // right chea priority = 2; side = TWest; icon = "\Aziro\Data\Aziro_icon.paa"; }; };
  2. I'm not too keen on recoil configuration; however, I found this that may help you: http://tactical.nekromantix.com/wiki/doku.php?id=arma:config:cfgrecoil
  3. Doh, you're right. -_- My apologies, I've been debugging code (in PHP and your syntax highlighting may have confused me ... let's just say it did :p) since noon CST today. *facepalm* He could have meant to check if they're not nil, as well. Honestly, that entire block is contradictory. It could be one of two things, then: if (!isNil "_msslcount" and !isNil "_mraamcount" and !isNil "_gbucount") then { // Init _msslcount = _plane getVariable "Msslcount"; _mraamcount = _plane getVariable "MraamCount"; _gbucount = _plane getVariable "GBUCount"; _mcount = 0; _m2count = 0; }; Or if (isNil "_msslcount" and isNil "_mraamcount" and isNil "_gbucount") then { // Init _msslcount = 62; _mraamcount = 24; _gbucount = 20; _mcount = 0; _m2count = 0; // Set _plane setVariable ["Msslcount", _msslcount, true]; _plane setVariable ["MraamCount", _mraamcount, true]; _plane setVariable ["GBUCount", _gbucount, true]; }; So, firewill, what exactly are you trying to do at that code block?
  4. I'm sure he meant to use getVariable since setVariable returns nothing and he's checking for them not being initialized. As for your problem, firewill, I believe the synchronization problem is because of the case of MSSLCount vs Msslcount whenever you're updating the counts after the missiles have been fired.
×