OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: royalman51 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?
-
condition:
!alive (driver uazname)
-
The join instruction needs some [] as well as follows:
[officer] join player
-
My post was so embarassing ::) , I have got to stop drinking!!
-
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??