Home   Help Search Login Register  

Author Topic: when you have a gun the AI says something  (Read 385 times)

0 Members and 1 Guest are viewing this topic.

marcus3

  • Guest
when you have a gun the AI says something
« on: 16 Jan 2005, 12:44:14 »
ok. now. in the mission you can get a HK but you dont have to. i want it where when you come back from the mission and talk to your leader he says."nice gun bla bla bla etc". the way i did it is with game logic things.
i made 2 triggers and one had in the con "guy hasweapon "HK"" and in the other i dont know what to put something like when guy gets close to leader it pops up.  i snc the triggers with the game logic waypoint "AND" that was out side my 3rd trigger so that when both are true it makes the 3d trigger (that is the end mission one) work. but i dont know what to put in the second one  but i also need it where when you dont have the HK and just your AK47 he just says "good job". so what do i do?

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:when you have a gun the AI says something
« Reply #1 on: 16 Jan 2005, 12:49:21 »
If you want a trigger to fire when guy gets close enough to officer write:

guy distance officer <*

* = The number of meters that you consider to be close.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

marcus3

  • Guest
Re:when you have a gun the AI says something
« Reply #2 on: 16 Jan 2005, 13:18:48 »
it works thanks a lot.
i think what i did wrong is that when i put the
guy distance officer <3
my < was going > way can you tell my what makes them ( dif rent. ha ha)
 o and i got it to work when i dont have the HK as well.
« Last Edit: 16 Jan 2005, 13:23:25 by marcus3 »