Results 1 to 6 of 6

Thread: Smoke shells and flares

  1. #1
    How do you get AI units to fire Flares and throw Smoke shells?
    And how do you get it so a trigger is activated when they do this?
    And how do you get Black Ops to put and detonate Satchel Charges, and finally what is the weapon name (for doing this addweapon...) for satchel charges?
    Too big signature replaced with Fluffy Bunny™.
    I didn't realize how big my signature was. So what! Fluffy Bunny is here to stay!

  2. #2
    flaregunner fire ["m203muzzle", "flare"]; flaregunner AddMagazine "flare";

    flaregunner fire ["m203muzzle", "flare"]; flaregunner AddMagazine "flare"
    --------------------------------------------
    http://operationflashpoint.port5.com

  3. #3
    To make black op drop and detonate satchel charge:

    blackop fire ["put", "pipebomb"]; blackop action ["touchoff"]

    If you make a blackop go next to an enemy tank that is active he will automatically drop satchel charges, I found out.

    Here's a little tutorial for your second question: lets say you want a soldier to go to a waypoint and shoot a flare, and when the soldier gets there you want a blackop to detonate a satchel charge.

    In the waypoint, you write in the "conditions" box

    true

    you write in the "on activation" box

    *code for shooting flare*; flare=true

    Then in a trigger you write in the "conditions" box

    flare

    Then write in the "on activation" box

    blackop action ["touchoff"]

    Of course for this to work, the blackop will have already had to lay a satchel charge. Also, the blackop isn't detonating the bomb because of the flare. The soldier will shoot the flare, but the blackop is detonating the bomb because the soldier reached the waypoint. To make it more realistic, you can put the countdown on the trigger to ten seconds or something, so the flare will be burning in the air when the blackop detonates the bomb.

    As for shooting flares, that's what I'm trying to figure out too. ***Sl@sh's answer didn't seem to work.




  4. #4
    Smokeshells:

    man_1 Fire ["throw","smokeshell"]


    This should work for flares:

    Give a grenadier some flares:

    man1 AddMagazine "flare"

    make a trigger set to detect east/west etc in a certain area. And in the activation field type:

    man1 Fire ["M203Muzzle", "Flare"]

    for west or

    man1 Fire ["GrenadesMuzzle", "Flare"]

    for east

  5. #5
    Thanx y'all, it was fairly complicated but I think I understood it.

  6. #6
    hmmm...It all works apart from the Smokeshells.

Posting Permissions

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