Home   Help Search Login Register  

Author Topic: Flare problem  (Read 888 times)

0 Members and 1 Guest are viewing this topic.

Offline @cero

  • Members
  • *
  • Yeah! Get some!!
Flare problem
« on: 22 Oct 2002, 00:27:02 »
Hi all, I know this is been posted before cos I helped on it, amazingly I been loocking for it through the sear button of this forums and after a few diferent combinations I gived up and I decided to re-ask about it.
 The problem I got is that I need the AI to fire a flare when resistance is around, I tryed diferent things, like camcreating a flare when resistance is present, but nothing hapend, I tryed this:
 I created a triger activated by resistance present, on the on activation field I typed-  B1="flare"camcreate getpos blast( where blast is the camcreating point)
 On the camcreatin point I tryed with a gamelogic that I called it blast, I tryed with a emptyed vehicle and I even tryed with the resistance units, I even removed all the weapons of one of the East guys and just added to him flares magazines and flare weapon and a ak47 that I found you can use it to shoot flares from, all this but I get no joy. any help?
 Thanks all.
@CERO.
SCREWBY!!!

seanver

  • Guest
Re:Flare problem
« Reply #1 on: 22 Oct 2002, 10:25:58 »
When you camcreate an object, as yuou have done (getpos gamelogic) as it is, you create the object on the ground, so the flare stops glowing. You have to create the flare at the gamelogic's position and about 150 meters over it:


myflare = "flare" camcreate [(getpos gamelogic select 0), (getpos gamelogic select 1), + 150]

Offline @cero

  • Members
  • *
  • Yeah! Get some!!
Re:Flare problem
« Reply #2 on: 22 Oct 2002, 18:39:57 »
hey gracias amigo ;D, that was the problem ;D
 Thanks for that.
Off topic:
 I posted something in your forums no long ago. Nos vemos.
Later
@CERO
SCREWBY!!!