Author: Goschie
Author Website:

Requirements: No addons required

Version: 1.0

Short description:

Date: 2009-01-21 19:59


Comments: (0)
Rating:



 

Suicide carbomb script
by
POTS


Description:
You can attach this script to a vehicle or have trigger or something activate the cars bomb.


Usage:
syntax:
[CAR, CHANCE, SUICIDE YELL, DELAY, SIZE, ATTACH TO VEHICLE, DISTANCE FROM TARGET, SIDE] execVM "suicidebomber.sqf";
1. CAR: vehicle object
2. CHANCE: number out of 10
3. SUICIDE YELL: string representing last words such as "DIE AMERICAN", if nothing set to ""
4. DELAY: number in seconds to delay after yelling or nothing.
5. SIZE: string being "SMALL", "MEDIUM", or "LARGE"
6. ATTACH TO VEHICLE: 1 if attached to vehicle, or it basicaly blows itself up when near unit with specified side, 0 if off
7. DISTANCE FROM TARGET: number means radius of activation (ONLY WORKS WITH ATTACH TO VEHICLE SET TO 1)
8. SIDE: string saying "WEST" or "EAST" for enemy side, "" if none (ONLY WORKS WITH ATTACH TO VEHICLE SET TO 1)

Examples:
null = [BOMBER, 10, "AMERICANS WILL DIE!", 1, "MEDIUM", 1, 5, "WEST"] execVM "suicidecarbomb.sqf";
null = [BOMBER, 5, "", 0, "SMALL", 0, 0, ""] execVM "suicidecarbomb.sqf";


Forum topic:
- Armaholic forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags