Home   Help Search Login Register  

Author Topic: not (running the poor sods over)...  (Read 629 times)

0 Members and 1 Guest are viewing this topic.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
not (running the poor sods over)...
« on: 26 Feb 2005, 00:34:50 »
just adding a few checks here and there to this beta, and one of them i'd like to be for whether the player is in a vehicle when entering a cutscene trigger - just in case someone's trying to run the poor loons down :P.

now i've seen the soldier in vehicle command, but i don't think i'm using it correctly. in the trigger condition field i have

Code: [Select]
this and (me in my_humvee or me in ambulance or me in evac_truck1 or me in medic_truck or me in tractor or me in bike1 or me in bike2 or me in police_jeep or me in colins_car)

which as you can see is a check for any of the vehicles available in the mission. but sadly it no worky.

the trigger is grouped to the player. is that the error? does it need to be grouped to individual transports? i could do it that way and check if the player is driving, but it seems a long winded way of going about things...

otherwise looking good for the 10th ;)

EDIT - nevermind, not enough brackets it seems -

Code: [Select]
this and ((me in my_humvee) or (me in tractor) or... )
is what was needed. silly me  ::)
« Last Edit: 26 Feb 2005, 00:57:43 by bedges »