Author: Coding
Author Website:

Requirements:

Version: 1.0

Short description: This script makes it easier for all missionmakers to create missions which contain capturing of one or multiple flags.

Date: 2013-07-26 01:27


Comments: (0)
Rating:



 


AssaultFlags [BETA]

by
Coding


Description:
I made this simple script to make it easier for all missionmakers to create missions which contain capturing of one or multiple flags. This script can not be used to create conquest missions. Flags have to be captured one after the other. It is impossible to recapture a flag.


Features:
assault one or multiple flags


Installation:
Copy the included "AssaultFlags" folder into your mission folder.


Usage:
Place 3 objects on the map.
Name them obj1, obj 2 and obj3
Put this in the init of obj1:
_null = [obj1, 120, 10, [obj2, obj3], 1200, east, west, false, false, true, false] execVM "AssaultFlags\assault.sqf";
Short description of the parameters:
    1: first object that shall be captured
    2: number of tickets to capture
    3: radius in which the flag is capturable
    4: list of other objects that shall be captured
    5: time until defenderteam wins if attacker can not capture all flags
    6: attackerteam
    7: defenderteam
    8: true if the time shall be resetted if a flag is captured, realmissiontime could be n*missiontime
    9: true if 1 player shall capture a flag in same time like 2 players
    10: true if a flag shall increase tickets if defenders are around
    11: true if flag shall increase tickets if attackers are not present (if true 10 is ignored)

If you only want to capture one flag use this:
_null = [obj1, 120, 10, [], 1200, east, west, false, false, true, false] execVM "AssaultFlags\assault.sqf";


Notes:
I am happy to hear feedback!


Credits & Thanks:
Thanks harbingerxy to request this script and help report me the bugs + testing.


Change log:
v1.0
- initial release


Forums Topic:
- Armaholic forums




Enable javascript to be able to download from Armaholic please!



Tags: Attack,   Capture,   Defend,   Flag