Home   Help Search Login Register  

Author Topic: Flares in Armed Assault  (Read 2899 times)

0 Members and 1 Guest are viewing this topic.

Offline Arkon

  • Members
  • *
Flares in Armed Assault
« on: 26 Feb 2007, 20:43:04 »


Hi,

Wondering if anyone has a working script to to create flares (camcreate) in Armed Assault, iv'e tried a few from Flashpoint but am unable to
get any to work in AA.

Thanms

Arkon

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Flares in Armed Assault
« Reply #1 on: 26 Feb 2007, 21:04:36 »
Try createVehicle instead of camCreate in ArmA.

Offline Arkon

  • Members
  • *
Re: Flares in Armed Assault
« Reply #2 on: 26 Feb 2007, 21:14:41 »

Thaks for the quick reply...

Erm.... not sure how one might use createVehicle....

Any more info....

Cheers

Arkon

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Flares in Armed Assault
« Reply #3 on: 26 Feb 2007, 21:27:12 »
COMREF createVehicle

Almost the same way as camCreate.

Offline Arkon

  • Members
  • *
Re: Flares in Armed Assault
« Reply #4 on: 26 Feb 2007, 21:39:10 »


An example would be great if anyone can come up with one :)


Arkon

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Flares in Armed Assault
« Reply #5 on: 26 Feb 2007, 21:44:25 »
A simple radio trigger activation field (make sure it is night time):
Code: [Select]
"F_40mm_Green" createVehicle [getPos player select 0, getPos player select 1, 50]
If "F_40mm_Green" is wrong (not sure), try with "FlareGreen_M203"

Offline Arkon

  • Members
  • *
Re: Flares in Armed Assault
« Reply #6 on: 26 Feb 2007, 22:00:44 »


Hi,

Gave it a try>

"FlareGreen_M203" createVehicle [getPos player select 0, getPos player select 1, 50]

Type Object expected nothing error

Arkon

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Flares in Armed Assault
« Reply #7 on: 26 Feb 2007, 22:13:07 »
flareG = "F_40mm_Green" createVehicle [getPos player select 0, getPos player select 1, 100]

Works fine   :cool2:


Planck
I know a little about a lot, and a lot about a little.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Flares in Armed Assault
« Reply #8 on: 26 Feb 2007, 22:14:22 »
Hey Arkon : replied to your thread in the BI forums as well, but I thought I'd fix it up a wee bit here:

IMHO, for createVehicle to work (much like many commands), you need to "name" it. Try : YourFlare = "FlareGreen_m203" createvehicle [getPos player select 0, getPos player select 1, 50]. Good luck!


Damn you Planck! Quick bugger!  :cool2:

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline Arkon

  • Members
  • *
Re: Flares in Armed Assault
« Reply #9 on: 26 Feb 2007, 22:28:47 »


Thanks to u guys...

Wolfrug, Planck and Mandoble

works a treat!!

Arkon