OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Ironman 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.
-
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 :
gamelogicname moveingunner searchname
-
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.
-
: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:
-
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.
-
haroon, I wasn't trying to be rude. Sorry if that is how it sounded. Thanks for your suggestions.
thanks wolf.....