Results 1 to 4 of 4

Thread: Dissmising your company

  1. #1
    Sergeant TexKaz's Avatar
    Join Date
    Jul 5 2010
    Location
    Third Rock from the Sun
    Posts
    129

    Dissmising your company

    Hi again,

    So my problem is this: I have a huge tank battle scenario and you are the lead element with 3 other tanks. Now the second part of the scenario requires that I somehow abandon the other three tanks and I am my own tank- escorting a convoy into the town. I thought maybe it would have something to do with dismiss, but apparently not after reading the biwiki description.

    Also since I'll be back here. I want to be able to stall and restart the convoy via radio when things get a little hairy.

    thanks in advance for the help

  2. #2
    Warrant Officer Demonized's Avatar
    Join Date
    Nov 16 2010
    Location
    Back from afk 2013
    Posts
    2,614
    1:
    [player] joinSilent grpNull; {if ((group _x) != (group player)) then {[_x] joinSilent (group player)}} foreach (crew (vehicle player));
    2:
    maybe have the convoy use 1 cycle wp at the destination and a hold wp synched to a radiotrigger, and use setWPPos on getPos leader convoy something, in the trigger.

    Edit: edited pt1.
    Last edited by Demonized; May 2 2011 at 16:12.
    My scripts:
    Spoiler:

    what to do when posting any kind of code dammit!!

    Any new mission editor or scripter in Arma2 should have read Mr Murrays Editing Guide Deluxe at least once, it still applies for A2 even though it was made for Armed Assault.

  3. #3
    Sergeant TexKaz's Avatar
    Join Date
    Jul 5 2010
    Location
    Third Rock from the Sun
    Posts
    129
    Author of the Thread
    Hi demonized,
    Thanks for the tip but I'm still dead in the water. I had trouble with part 1. Mainly being that I dont know where to put that code. I opened up a waypoint info bar and I tried on Activation: and it wouldn't let me shut the window down. Then I put it in script and did not do anything.

  4. #4
    Warrant Officer Demonized's Avatar
    Join Date
    Nov 16 2010
    Location
    Back from afk 2013
    Posts
    2,614
    hi, there was a missing ) in pt1, fixed now, place it in a trigger wherever you want it to happen, for example if you get inside trigger area, place this in on act:
    Code:
    [player] joinSilent grpNull; {if ((group _x) != (group player)) then {[_x] joinSilent (group player)}} foreach (crew (vehicle player));

Posting Permissions

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