Home   Help Search Login Register  

Author Topic: Fire without Target  (Read 443 times)

0 Members and 1 Guest are viewing this topic.

jamie_psx

  • Guest
Fire without Target
« on: 25 Feb 2003, 06:59:20 »
Does anyone know how to get a plane to drop it's bomb load, or a soldier to fire his rifle, etc even if no target is given.

For example the CommandFire and DoFire commands require that a target be selected for the soldier first.

I'm making a mission where I need the A-10 (LGB) to just fly over a valley and drop it's bombs in the general area, without specifying a particular target for it.

In fact the plane is on Careless behavior, so I want to force it to drop it's bomb load by putting in some commands in the On Activation field of the plane's waypoint.

Kaliyuga

  • Guest
Re:Fire without Target
« Reply #1 on: 25 Feb 2003, 07:16:58 »
 Hmm....  well here is some info that may at least help you figger it out..

I noticed that you didn't mention the fire command

Syntax :
Unitname Fire [Weapon, Ammo]


  Some other things you can try are:

   just using an M2 or something and sinking it a couple of meters into the ground  if visibility to the player is your concern here....  


  I've never been too clear on whether or not you can target triggers, but I know that gamelogics are definately out of the question
 
 hope this info helps

teeBore

  • Guest
Re:Fire without Target
« Reply #2 on: 25 Feb 2003, 13:19:41 »
yeah the fire command would be the simplest and most effective though

you can use it the following way which is the simplest:
unit fire "M16"

or by passing in an array:
unit fire ["throw","SmokeShell","SmokeShell"]