Home   Help Search Login Register  

Author Topic: Can't make units to fire at the invisible target :(  (Read 655 times)

0 Members and 1 Guest are viewing this topic.

Offline bdfy85

  • Contributing Member
  • **
When I place invtarget in front of target - bots fire at it automaticly ,without further orders.
I wrote a script that camcreates the invtargets  in front of target ( TargetE ) , but Ai units do not fire ! :( What is the probloem ?
See the example attached ( invtargets addon included )
Liberation Mod scripts&balance

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re:Can't make units to fire at the invisible target :(
« Reply #1 on: 27 Sep 2005, 17:28:00 »
Use createVehicle instead of camCreate.
urp!

Offline bdfy85

  • Contributing Member
  • **
Re:Can't make units to fire at the invisible target :(
« Reply #2 on: 27 Sep 2005, 18:46:01 »
that's exactly what I used ;)
Liberation Mod scripts&balance

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Can't make units to fire at the invisible target :(
« Reply #3 on: 27 Sep 2005, 18:59:28 »
try adding a reveal command. sometimes ai gets confused when objects materialise in front of them. it takes a few seconds for their noddles to  catch up ;)


Offline bdfy85

  • Contributing Member
  • **
Re:Can't make units to fire at the invisible target :(
« Reply #4 on: 27 Sep 2005, 20:09:56 »
bedges
yes, it works ;) 10x
Liberation Mod scripts&balance