Home   Help Search Login Register  

Author Topic: How to make unit fire at inanimated objects  (Read 1003 times)

0 Members and 1 Guest are viewing this topic.

frag

  • Guest
How to make unit fire at inanimated objects
« on: 09 Dec 2002, 06:42:08 »
I want to make a unit to fire on a barrel or a sign...but never want to do it.

I tried unitname dofire barrelname or unitname dotarget barrelname

...I was never able to make it shoot at the objects.

Is there a way to do it?!

Briefly, I want to make a pratice field...where soldier are busy firing at target. And I am not as cruel as placing live target in the field  :-X

Thanks in advance!
« Last Edit: 09 Dec 2002, 06:43:51 by frag »

seanver

  • Guest
Re:How to make unit fire at inanimated objects
« Reply #1 on: 09 Dec 2002, 18:21:24 »
Well, it is impossible to make a unit fire on an object. I asked something like that some months ago and well, it is impossible. Anyway, I think I saw somewhere an addon which makes a unit shoot a, ermm... I don't know the word in English now... bull's eye I think. Well shoots a bull's eye. I can't remember the name of the addon though. Let's hope someone remembers it.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:How to make unit fire at inanimated objects
« Reply #2 on: 09 Dec 2002, 22:55:16 »
u can, but using my scripts and the Tossers addon  ;)
Proud Member of the Volunteer Commando Battalion

frag

  • Guest
Re:How to make unit fire at inanimated objects
« Reply #3 on: 09 Dec 2002, 22:59:03 »
Messiah,

what is the tosser adon?

Offline Davies1

  • Members
  • *
  • Bugger this for a game of soldiers!
Re:How to make unit fire at inanimated objects
« Reply #4 on: 11 Dec 2002, 01:26:13 »
its help on improving right hand technique ;)

Maybe try to place a gamelogic on the item you wish to fire at and make it fire at the gamelogic instead of the object. It may simulate but my pc dont have ofp on it atm so I cant test this theroy  :-\
Beer is the fuel for the Heavy Metal Engine.

kevinfostereditguy

  • Guest
Re:How to make unit fire at inanimated objects
« Reply #5 on: 11 Dec 2002, 11:29:21 »
how  bout using a command to make them look at the object, then a second or 2 later, use the fire command to make them fire their weapons (check the opflash command reference)give the illusion they are firing at it?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How to make unit fire at inanimated objects
« Reply #6 on: 11 Dec 2002, 16:08:56 »
da fire command wil alwayz make da unitshot up so dere is no way 2 make it look somwere nd den shot dere  :-\ unless its a chopper

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:How to make unit fire at inanimated objects
« Reply #7 on: 11 Dec 2002, 19:00:43 »
frag - the Tossers addon is an addon by Gimbal - available here from the addons depot - its basically civilians who throw bottles, rocks and tv sets
Proud Member of the Volunteer Commando Battalion

frag

  • Guest
Re:How to make unit fire at inanimated objects
« Reply #8 on: 11 Dec 2002, 23:03:45 »
Is it possible to fire at a Gamelogic object as Davies1 suggest!!!?? If yes, my problem is solved...

But I can't test it now since I am at work :(