Home   Help Search Login Register  

Author Topic: Empty Truck w/lights on  (Read 4043 times)

0 Members and 1 Guest are viewing this topic.

Offline Ironman

  • Former Staff
  • ****
    • {GSF} Home Page
Empty Truck w/lights on
« on: 19 Feb 2010, 12:03:55 »
There is probably a work around for this( ejecting a guy out of a car at night). But for the sake of asking a stupid question.

I place a empty car/truck/armor in the editor at night. Is there a command to turn the lights on? I tried "inflame" and "switchlight" so far, nada.
TS3 IP: tor.zebgames.com:9992

Offline haroon1992

  • Members
  • *
  • My life is hopeless...
Re: Empty Truck w/lights on
« Reply #1 on: 19 Feb 2010, 12:13:01 »

Code: [Select]
anyunitname action ["LIGHTON",vehiclename]Eg.
player action ["LIGHTON",truck1]

loon1 action ["LIGHTON",car1]

Note : Only units can be used.
car1 action ["LIGHTON",car2] will not work.

To lit a searchlight,you have to place a gamelogic and then  use :
Code: [Select]
gamelogicname moveingunner searchname
Very busy with life, business, and other stuff. Away from OFP for months. Not sure if I could get back onto it. :(

Offline Ironman

  • Former Staff
  • ****
    • {GSF} Home Page
Re: Empty Truck w/lights on
« Reply #2 on: 19 Feb 2010, 12:36:23 »
I wouldn't even need to do that... it is a night mission they will turn on lights just getting in it. All I would have to do is eject em out once they are in.
TS3 IP: tor.zebgames.com:9992

Offline haroon1992

  • Members
  • *
  • My life is hopeless...
Re: Empty Truck w/lights on
« Reply #3 on: 19 Feb 2010, 14:34:44 »
 :o

I've shown you the most appropriate way of turning lights on and off.
You question isn't appropriate or am I the one who don't have the ability to understand it?

To eject him,
soldiername action ["Eject",vehiclename]

Anyway,do what you want to do.... :good:
Very busy with life, business, and other stuff. Away from OFP for months. Not sure if I could get back onto it. :(

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Empty Truck w/lights on
« Reply #4 on: 19 Feb 2010, 15:05:00 »
Use a game logic as an invisible unit, then delete/eject that one, and it should work out okay I think :)

Don't think there's a workaround, no - someone has to turn those lights on!

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline Ironman

  • Former Staff
  • ****
    • {GSF} Home Page
Re: Empty Truck w/lights on
« Reply #5 on: 19 Feb 2010, 15:59:11 »
haroon, I wasn't trying to be rude. Sorry if that is how it sounded. Thanks for your suggestions.

thanks wolf.....
TS3 IP: tor.zebgames.com:9992