Home   Help Search Login Register  

Author Topic: captive  (Read 587 times)

0 Members and 3 Guests are viewing this topic.

Offline royalman51

  • Members
  • *
  • Hi There
captive
« on: 29 Jun 2005, 13:37:38 »
I'm trying to make a mission, where i have to capture an enemy offcer driving in a UAZ. When the driver of the UAZ is killed the officer should join my squad. I made a trigger with in the Condition field: "not alive driver" and in the On Act field: "officer join player". But the trigger doen't work. I am getting a error massage when i shot the driver. I also set the officer to a captive. How can i make the officer join my squad?
« Last Edit: 29 Jun 2005, 14:13:25 by royalman51 »

CopyrightPhilly

  • Guest
Re:captive
« Reply #1 on: 29 Jun 2005, 13:42:27 »
condition:
!alive (driver uazname)

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:captive
« Reply #2 on: 29 Jun 2005, 14:54:34 »
The join instruction needs some [] as well as follows:

[officer] join player

Colossos

  • Guest
Re:captive
« Reply #3 on: 01 Jul 2005, 14:52:38 »
My  post was so embarassing  ::) , I have got to stop drinking!!
« Last Edit: 01 Jul 2005, 17:40:13 by Colossos »

big_ears

  • Guest
Re:captive
« Reply #4 on: 01 Jul 2005, 15:41:45 »
I guess you mean it right but the point is that the officer has to join him when the driver is NOT alive.
so:
! not(alive driver)     in the condition field
Isn't "!" exactly the same as writing "not" ???

Therefore if you put "! not(alive driver)" then it would be a double negative and return true when the driver is actually alive??