Page 1 of 5 12345 LastLast
Results 1 to 10 of 48

  Click here to go to the first Developer post in this thread.  

Thread: Arma 2 Forward Compatibility

  1.   Click here to go to the next Developer post in this thread.   #1
    BI, CEO Maruk's Avatar
    Join Date
    Jun 29 2001
    Location
    Prague, Czech Republic
    Posts
    1,091
    ArmA 2 will be laregerly compatible with Armed Assault. To make porting of content from ArmA as simple as possible.

    Currently, one of the most important things is:

    * using of undefined variable in scripts (nil value) will be in ArmA 2 strictly reported as an error. All variables used in any scripts must be initialized before first use.

    Reference: community.bistudio.com
    Marek Spanel - CEO www.bistudio.com

  2. #2
    Staff Sergeant
    Join Date
    Mar 27 2005
    Location
    earth global human
    Posts
    335
    Nice to hear that means as the continuity is guarented and many mods team will stay loyal for this game.
    OFP multiplayer since june 2001. gamename MRJ-GLO

  3. #3
    Out of curiosity, Is using testing isNil against a variable to determine if it exists or not still fair game? I would assume that it is, but it's better to ask.
    Everything I have released for ARMA can be found here.

  4. #4
    Well, as this is the single thing that most often causes me bugs, specifically by mistyping a variable name and it just defaulting to nil, I'm really happy to have this appear in SQF, even if I have to wait for ArmA II. Many thanks!

    Any chance of getting this patched into ArmA, where use of a keyword in a script turned ON this functionality? This was how it was done in Perl: if "use strict" was in a script then Perl would raise an error on an unrecognised variable, the default behaviour would be to just assume that it was nil (or the equivalent in Perl). OK, not seriously expecting you to do this, but it would be great if you could.

    A question for clarification: If you private a variable, but don't assign to it, does it default to nil or would dereferencing such a variable also be an error?



    CBA: Community Base Addons for A2
    DevHeaven: development unraveled!
    SPON scripts/addons (A1) | Roller island tool (OFP -> A1)
    OFPEC: The editing center (for OFP, A1 and A2)

  5. #5
    Out of curiosity, Is using testing isNil against a variable to determine if it exists or not still fair game? *I would assume that it is, but it's better to ask.
    Yeah, it is a little confusing. I'm assuming he means that commands that try and reference undeclared variables will now return an error, rather than returning the the variable type the command expected.

    For example:

    _IsAlive=Alive NOSUCHOBJECT;

    Hint Format ["Is Alive %1",_IsAlive];


    At the moment the above code would not return an error and the hint would display the value bool.
    Last edited by W0lle; Apr 13 2009 at 04:56.

  6. #6
    ArmA 2 will be laregerly compatible with Armed Assault.
    This is very reassuring - I'd been wondering whether the effort I've been putting into scripting lately was going to be wasted but this says otherwise.
    Last edited by W0lle; Apr 13 2009 at 04:56.
    Author of PVPmissionWizard ArmA2FPSAnalyser AddonChecker and ... squint

    Tools homepage

    Crosseyed and Painless - a blog about my ArmA2 developments



  7. #7
    Staff Sergeant
    Join Date
    May 14 2007
    Location
    United Kingdom
    Posts
    224
    on behalf of the community i must say thank you Maruk. was wondering when the compatibility with arma2 discussions would come up.
    “Economic Volatility, plus ethnic disintegration, plus empires in decline: That combination is about the most lethal in geopolitics. We now have all three. The age of upheaval starts now.”
    - Niall Ferguson, Introducing the Axis of Upheaval

  8. #8
    Great News and thanks for keeping us updated Maruk!
    A.C.E. Advanced Combat Environment

    Dev-Heaven.net Free Project Hosting | A2 Community Issue Tracker Help BIS, Help yourself!

  9. #9
    I second that comment!

  10. #10
    Very good news! Thank you Team!

    So all the work made or still to be made or even in development can be used in ARMA2.

    Go Team!

Page 1 of 5 12345 LastLast

Posting Permissions

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