Home   Help Search Login Register  

Author Topic: Game Logic  (Read 438 times)

0 Members and 1 Guest are viewing this topic.

StonedSoldier

  • Guest
Game Logic
« on: 22 Jan 2004, 01:01:56 »
im sort of creating my own airstrike with choppers and i was wondering if its possible to make choppers shoot at game logics using the DoFire command,

or is there an easier way to make a chopper shoot at a certain piece of the terrain.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Game Logic
« Reply #1 on: 22 Jan 2004, 01:40:17 »
Nope.

There is an invisible target addon somewhere, that's what you need.
Plenty of reviewed ArmA missions for you to play

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Game Logic
« Reply #2 on: 22 Jan 2004, 02:31:10 »
If its an airstrike, it implies theres something to strike at, yes?  Why not have the choppers target the thing you want to be struck?

Kilo11

  • Guest
Re:Game Logic
« Reply #3 on: 22 Jan 2004, 02:46:26 »
What you coudl do is make small objects such as a radio (If you have the editor upgrade 1.2), and place them in the locations you want to be engaged.    Then in the radio's init field put in:

this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) -2]

This will lower the radio under the ground and make in invisible,. Now just throw in a name to each Radio like "R1", and place in a script or trigger using the DoTarget commadn FIRST, THEN then DoFire command afterwards.  Good luck.

-=Kilo=-