AAN News Scroll Overlay Function

Watch in HD

Here’s how to add your own AAN News Scroll Overlay.  First place the Functions Module on the map, then call the overlay with this code, in the init.sqf for example.:

title = parsetext "<t size='2.3'>Rabbits Overrun Zargabad</t><br />Thousands of rabbits are terrorizing local women in the Takisani town of Zargabad."; 
scroll = parsetext "Military Units across Takistan report dance outbursts are on the rise - A-10s have been spotted flying upside down more often than not - Missing M16 Rifles found!"; 
nul = [title,scroll] spawn BIS_fnc_AAN;

Thanks to Koni on the BIS forums, here’s how to end the AAN Overlay early if you don’t want it displayed during the entire intro:

3000 cuttext ["","plain"];

Here is demo single player mission which shows the AAN Overlay in use as part of a intro.

, , , ,

  1. #1 by K9 on August 17, 2010 - 4:46 PM

    Can you put one exemple with that script?Our were i put this code.
    Because i put in the Module and the frase dont go way…

    • #2 by kylania on August 17, 2010 - 6:50 PM

      This feature is really only for use in intros or as part of a video you’re making. Only in a camera scene. I’ll work up a quick demo tonight to show it in action.

  2. #3 by K9 on August 17, 2010 - 7:14 PM

    Thks for the kick answer.I prefer in the intro part, not video.But wait for your demo.
    Nice work in the scripts

    • #4 by kylania on August 19, 2010 - 3:32 AM

      Demo’s up. 🙂

  3. #5 by K9 on August 19, 2010 - 4:22 PM

    Thks, testing …

  4. #6 by K9 on August 19, 2010 - 8:35 PM

    Two problens buddy, dont work the intros in multiplayer and make my game crash in the end of the mission.
    In singleplayer work the intros but crash in the end.

    • #7 by kylania on August 19, 2010 - 9:00 PM

      Yup, Intros only work for Single Player. Not sure why your game is crashing though, sorry. 🙁

  5. #8 by K9 on August 20, 2010 - 9:23 AM

    Can you make the same mission for multi?

    • #9 by kylania on August 20, 2010 - 11:42 AM

      Not really. Mission Intros are for Single Player only. While you could use the overlay in Multiplayer as something that runs from init.sqf you’ll run into trouble with JIP. If you join after the mission started for example, all the scripted stuff would have already happened, so the camera moves would be out of synch or showing nothing.

  6. #10 by K9 on August 20, 2010 - 4:49 PM

    I see…thks, you are a good teacher…;)

  7. #11 by Sigint on August 23, 2010 - 8:34 PM

    Aww look at all the cute litt— aaahhg! *Rabbit attacks* (Cough)

    Now in seriousness! Cool scripts! I’ve been looking at all your simple examples and explanations to things that I once thought were over my head. Thanks man!

  8. #12 by HelloCam3 on September 6, 2010 - 7:10 AM

    Could you please put this in a ArmA 2 demo mission because I haven’t orders my copy of ArmA 2: Operation Arrowhead. Thanks for reading.

    • #13 by kylania on September 8, 2010 - 2:03 AM

      Unfortunately the AAN News Overlay is a new feature with Operation Arrowhead. So, while I could make an example using ArmA2 assets, you wouldn’t be able to see it since you don’t have Arrowhead yet. It’s on sale though! 🙂

  9. #14 by Horoskop Rak on September 9, 2010 - 10:05 PM

    Good info

  10. #15 by Exodus on November 27, 2010 - 11:15 AM

    When I use your demo mission, I don’t get an AAN overlay, just the white text from the Reporter.

    So the red AAN News doesn’t scroll across the screen, any ideas why? (I am testing this in ArmA II:OA, on Single Player Scenarios)

Comments are closed.