Home   Help Search Login Register  

Author Topic: Ai APC using Smoke  (Read 1337 times)

0 Members and 1 Guest are viewing this topic.

Offline LDZ

  • Members
  • *
Ai APC using Smoke
« on: 07 Jul 2010, 04:28:41 »
<--the APC

Offline Speeder

  • Members
  • *
    • OFP.nu
Re: Ai APC using Smoke
« Reply #1 on: 08 Jul 2010, 11:01:30 »
I guess you could just create a smokeshell at the Av1's location:


mysmoke = "SmokeShell" createVehicle [(getPos Av1 select 0),( getPos Av1  select 1),1];

Just execute it from the on activation on the waypoint, or via trigger.
« Last Edit: 08 Jul 2010, 11:07:17 by Speeder »
There are 10 kinds of people in this world. Those who get it, and those who don't.

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re: Ai APC using Smoke
« Reply #2 on: 08 Jul 2010, 12:50:22 »
The command you are looking for is fire as in...

myAPZ fire ["muzzle","magazine"]

This is what you need to do. Give your APC a name. Find out what it's guns are called. This information can be found in the OFPEC Comref. There you will get the name for the muzzle and the magazine.

Most smoke launcers are named smokelauncher and their magazines are usually called smokelaunchermag. In that case the above syntax would read something like this:

myAPZ fire ["smokelauncher","smokelaunchermag"]

Note: The exact syntax may be a bit different. I wrote this from memory. But it should give you something to start with. Good luck.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline LDZ

  • Members
  • *
Re: Ai APC using Smoke
« Reply #3 on: 08 Jul 2010, 16:58:21 »
thx for the answers but they are not helping much the full fire command is "unit fire [muzzle, mode, magazine]"

I have try this before writing in the forum but no effect.

i dont now what mode is and where i can find it and what it does.

in the comref there is no muzzle and mode for the smokelauncher.

speeder your solution is a bypass but i woude miss the sounds and animation so the wow effect is away.

HALP NEED HALP PLX i am desperate


oh and the i have arma 2 with oa.

I have find a soultion!!!!

write unit fire ["SmokeLauncher"];






« Last Edit: 08 Jul 2010, 17:12:07 by LDZ »

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re: Ai APC using Smoke
« Reply #4 on: 08 Jul 2010, 17:19:43 »
Quote
I have find a soultion!!!!

write unit fire ["SmokeLauncher"];

 :good: Figuring something out on your own is the essence of good scripting. And welcome to the forums by the way. I just noticed you registered yesterday...

 :welcome:
« Last Edit: 08 Jul 2010, 17:21:44 by nominesine »
OFPEC | Intel Depot
RETARDED Ooops... Retired!