OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Zipper5 on 04 Jul 2007, 20:10:58

Title: Artillery
Post by: Zipper5 on 04 Jul 2007, 20:10:58
At the moment I am making a mission where there is an artillery strike that occurs to soften up the enemy base, however, I can't remember how to create artillery strikes. I know it uses camcreate to create the shell and I know you can place markers for where the shell is supposed to hit, but I don't know the line of code to accomplish this.

Also, I know this method is a bit basic, so if anyone can tell me exactly how to implement a more advanced artillery script that'd be great. Thanks.
Title: Re: Artillery
Post by: Mandoble on 04 Jul 2007, 20:35:32
http://www.ofpec.com/ed_depot/resource_list.php?type=sc&cat=we (http://www.ofpec.com/ed_depot/resource_list.php?type=sc&cat=we)

Change any camCreate command by createVehicle.

For ammo types used:http://www.ofpec.com/COMREF/armaweapons.php (http://www.ofpec.com/COMREF/armaweapons.php) Column Ammo Classnames.
Title: Re: Artillery
Post by: Zipper5 on 04 Jul 2007, 20:38:45
Cool, thanks Mandoble. Had a feeling you'd be one of the first to reply. :)