Home   Help Search Login Register  

Author Topic: Lights on Empty Vehicles!  (Read 552 times)

0 Members and 1 Guest are viewing this topic.

Walther_P38

  • Guest
Lights on Empty Vehicles!
« on: 09 Jun 2004, 01:43:34 »
Hi. I've searched for this, but can't find it.

I want to make a trigger so that when it goes off, the lights on a pair of empty vehicles -- UAZ1, and UAZ2 turn on.

How do I go about this?

-Walther

j-man

  • Guest
Re:Lights on Empty Vehicles!
« Reply #1 on: 09 Jun 2004, 04:46:52 »
I think that lights can only be turned on if there is someone in the vehicle. But, gamelogics can be used inplace of people (I THINK :P ). Just move a pair of GL's into the UAZ's when the trigger has been tripped.
« Last Edit: 09 Jun 2004, 04:47:14 by j-man »

Walther_P38

  • Guest
Re:Lights on Empty Vehicles!
« Reply #2 on: 09 Jun 2004, 05:09:57 »
Hmm. Outta my league.

Is there a tut or something that I can find, in terms of how to do this with GL's, or use them at all? XD

TY

-W

j-man

  • Guest
Re:Lights on Empty Vehicles!
« Reply #3 on: 09 Jun 2004, 07:53:23 »
Check the ed. depot for tutorials. But, just creat two game logics, and name them gl1 and gl2. Then in the "ON ACTIVATION" field of the trigger, put:

gl1 moveindriver uaz1; gl2 moveindriver uaz2

the lighs of the vehicles should come on. But this means that nobody can get into the vehicles as drivers because that space is taken up by the GL's.
« Last Edit: 09 Jun 2004, 07:53:42 by j-man »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Lights on Empty Vehicles!
« Reply #4 on: 09 Jun 2004, 09:28:10 »
There is a very good thread on gamelogics from May last year .... wait .... here it is.

game logic
gamelogic
GL

Well, I've finally got round to taking that thread, tidying it up and submitting it to the Editors Depot.    It's under pending at the moment, and contains the same info as the thread but perhaps slightly easier to read.
« Last Edit: 09 Jun 2004, 10:04:59 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Lights on Empty Vehicles!
« Reply #5 on: 09 Jun 2004, 13:00:26 »
omg I never thought of that!  :o

I've been using GL's to fill in passenger seats before but I never thought of putting one as driver. I just tried it and it really works! I put a jeep on desert island at night and made a GL go in as driver from it's init field and the jeep really did have it's lights on.

Very cool for effects in cutscenes for example. Good stuff  :thumbsup:
Not all is lost.