OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Arkon 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
-
Try createVehicle instead of camCreate in ArmA.
-
Thaks for the quick reply...
Erm.... not sure how one might use createVehicle....
Any more info....
Cheers
Arkon
-
COMREF createVehicle (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=c#createVehicle)
Almost the same way as camCreate.
-
An example would be great if anyone can come up with one :)
Arkon
-
A simple radio trigger activation field (make sure it is night time):
"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"
-
Hi,
Gave it a try>
"FlareGreen_M203" createVehicle [getPos player select 0, getPos player select 1, 50]
Type Object expected nothing error
Arkon
-
flareG = "F_40mm_Green" createVehicle [getPos player select 0, getPos player select 1, 100]
Works fine :cool2:
Planck
-
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.
-
Thanks to u guys...
Wolfrug, Planck and Mandoble
works a treat!!
Arkon