Home   Help Search Login Register  

Author Topic: "command fire" having things shoot up in the air  (Read 1117 times)

0 Members and 1 Guest are viewing this topic.

kymandro

  • Guest
"command fire" having things shoot up in the air
« on: 06 Nov 2004, 04:34:42 »
I had read an old post about having some one shoot at nothing. and some one  mentioned use command fire and the unit will shoot up in the air.  I cant figure out how to use command fire could any one help me? :-\

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:"command fire" having things shoot up in the air
« Reply #1 on: 06 Nov 2004, 04:46:46 »
hello
Im not positive but it is

soldier1 doFire "M16"

Im pretty sure the weapon name is wrong you will have to look it up just put in the weapon the soldier has

kymandro

  • Guest
Re:"command fire" having things shoot up in the air
« Reply #2 on: 06 Nov 2004, 05:23:01 »
ok but what if it is a vehicle?

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:"command fire" having things shoot up in the air
« Reply #3 on: 06 Nov 2004, 05:27:49 »
im sorry I had misunderstood u
the one u need is

soldierOne fire "HandGrenade"

that is correct

I think it works for vehicles to
just put in the weapon name

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:"command fire" having things shoot up in the air
« Reply #4 on: 06 Nov 2004, 14:25:17 »
Hmmmm.......yes,let me see now.....hmmmm

flick.... flick......flickety flick.......

Ah yes..............here it is, I knew I would find it in the trusty Command Reference, you know, the one everyone can download and peruse to their hearts content.

Anyway, the  entry for commandFire:

commandFire target
Operand types:
    target: Object
Type of returned value:
    Nothing
Description:
    Order unit to commence fire on given target (via radio). If target is objNull, commence fire to current target (set using dotarget or commandtarget).

Example:
    soldierOne commandFire player


Get your free copy in the Editors Depot.


Planck
« Last Edit: 06 Nov 2004, 17:58:28 by Planck »
I know a little about a lot, and a lot about a little.

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:"command fire" having things shoot up in the air
« Reply #5 on: 06 Nov 2004, 14:54:57 »
You can find out the name of the weapon the vehical must shoot with having in the initiation field:

this addeventhandler ["fired",{hint format ["Name of shot is: %1,%2", (_this select 2),(_this select 4)]}]

which I found in the editor's depot somewhere. Then once you know what teh weapon is you can order the vehicle to fire it.

kymandro

  • Guest
Re:"command fire" having things shoot up in the air
« Reply #6 on: 06 Nov 2004, 17:41:13 »
this is really cool

this addeventhandler ["fired",{hint format ["Name of shot is: %1,%2", (_this select 2),(_this select 4)]}]
 thanks a lot

i just have one more question when you do the soldier1 fire "sh1tgun" it only shoots one round. is there any way to make it fire more than one or should i just make a script

thats funny it wont let me right shit or fuck or bitch and it changes b1tch to whine
 
thank you every one

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:"command fire" having things shoot up in the air
« Reply #7 on: 06 Nov 2004, 17:52:25 »
You need to reissue the command for every shot that you want.   Use a script or a pair of triggers for repeats.

The forum has an automatic censoring device.   It's not that anybody particularly wants such a terrible thing, but we do have children visiting the site and we don't want them to get banned by their parents from using it because it has naughty words.    Plus, the slightly older children have just discovered all these interesting new words and in their excitement use them too frequently and out of context.   And of course there is the odd occasion when offence can be caused, which nobody wants.   Visiting ofpec should be a fun and pleasant experience for everybody, every time.

The exact replacements are Admin-determined, so the particular things you get are the result of the whims of whoever it was that set it up in the first place.    
Plenty of reviewed ArmA missions for you to play

kymandro

  • Guest
Re:"command fire" having things shoot up in the air
« Reply #8 on: 06 Nov 2004, 18:02:19 »
and also the vehicles dont shoot up in the air just where they are pointing :'(

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:"command fire" having things shoot up in the air
« Reply #9 on: 08 Nov 2004, 05:11:10 »
and also the vehicles dont shoot up in the air just where they are pointing :'(

They point at whatever they are looking at, so if you want them to shoot straight up in the air, make them look up there.

vehicle dowatch [getpos vehicle select 0, getpos vehicle select 1, 100]

Will make them try to look straight up.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!